Disabling IPv6 on CentOS 7 is pretty straight forward.

You should make sure you aren’t running anything that’s using your IPv6 address.

Add the following line inside the config at /etc/sysctl.conf

To apply this change issue the following at shell: