Trace: pgadmin disable_ipv6

Disable IPv6

Table of Contents

RHEL

Without restart:

echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
echo 1 > /proc/sys/net/ipv6/conf/default/disable_ipv6

Permanent changes: Edit /etc/modprobe.d/ipv6.conf:

options ipv6 disable=1

Edit /etc/sysctl.conf:

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

Finally:

cp -p /etc/hosts /etc/hosts.disableipv6
sed -i 's/^[[:space:]]*::/#::/' /etc/hosts

References

disable_ipv6.txt · Last modified: 2017/11/02 10:12
Public Domain Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain