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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.