How to disable IPv6 in Ubuntu

Step 1: Open /etc/sysctl.conf sudo nano /etc/sysctl.conf Step 2: Add following lines: net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1Step 3: Check whether IPv6 was...