Websites won't load after enabling ipv6 on droplet running Centos 8

I followed the instructions for enabling ipv6 on an existing droplet (Centos 8). Now all of my websites return a “connection timed out” error.

I’m running Centos 8 and I’m using the DigitalOcean Cloud Firewall. Both HTTP and HTTPS are open for inbound traffic over ipv4 and ipv6. Apache is set to Listen 80 and Listen 443.

I can still connect via SSH, so that’s still working. Pinging the Google ipv6 nameserver works ping6 2001:4860:4860::8888. Running sudo systemctl restart NetworkManager.service returned no errors. Rebooting and restarting the httpd service didn’t help…

I’m pretty much out of ideas. What else could be causing this?

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Site Moderator
Site Moderator badge
August 18, 2023

The first thing I would check are your IPv6 configurations on your CentOS 8 droplet. Verify if they are correct and properly applied.

Next, you could look into your Apache configuration. Make sure that it is configured to accept IPv6 connections by confirming that you have the following line in your Apache configuration:

  1. Listen [::]:80
  2. Listen [::]:443

This tells Apache to listen on all IPv6 addresses.

If these steps don’t resolve your issue, you can check the firewall rules on your droplet itself, in addition to the DigitalOcean Cloud Firewall, to make sure they are allowing HTTP/HTTPS connections over IPv6. Also, always remember to check your error logs for any hints.

Hope that this helps!

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel
Get started for free

Enter your email to get $200 in credit for your first 60 days with DigitalOcean.

New accounts only. By submitting your email you agree to our Privacy Policy.

© 2023 DigitalOcean, LLC.