To disable IPv6

  1. sysctl net.ipv6.conf.all.disable_ipv6=1
  2. sysctl net.ipv6.conf.default.disable_ipv6=1
  3. sysctl net.ipv6.conf.lo.disable_ipv6=1