Report this

What is the reason for this report?

How to disable ubuntu 14.04 ipv6

Posted on November 21, 2014

Hi,

I want to disable ipv6 on my ubuntu 14.04 system. I have tried to put the end of /etc/sysctl.conf file

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

these three lines and reboot but it can’t take ip address anymore.

How to disable ipv6 from my system?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I actually finished solving the exact same issue right now with a bit of help from a support person.

First of all let me say this, the support (so far) has been AMAZING and need I say FAST.

Once the support person indicated to me that IPV6 was causing the issue, I immediately searched Google and found this lovely thread. If this thread didn’t exist, I’d probably still have an opened ticket, but instead, @kamaln7 's post worked flawlessly.

Thanks once again @kamaln7 for helping the community out. I owe you one.

I was also using the MailGun API to send emails and IPv6 was the reason, it was giving the Gateway Timeout Error.

Error resolved when enabled precedence in /etc/gai.conf:

precedence ::ffff:0:0/96 100

Why do you want to disable the future?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.