# How to configure ipv4 / ipv6 settings

**URL:** <https://meta.discourse.org/t/how-to-configure-ipv4-ipv6-settings/29263>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [26 Maggio 2015, 12:16pm UTC](https://meta.discourse.org/t/how-to-configure-ipv4-ipv6-settings/29263 "2015-05-26T12:16:12Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![fredrik](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fredrik/32/116163_2.png) [@fredrik](https://meta.discourse.org/u/fredrik)\
**Post date:** [26 Maggio 2015, 12:16pm UTC](https://meta.discourse.org/t/how-to-configure-ipv4-ipv6-settings/29263/1 "2015-05-26T12:16:13Z")

</div>

Hi!  
My site suddenly “disappeared” after my web host updated and restarted my server.  
After some poking around, I did a ‘netstat’ and only ‘tcp6’ entries were listed for the ports that discourse were supposed to serve (and probably is serving).  
This is a problem for a few reasons.

1. I can’t display ipv6 sites at home
2. My DNS records didn’t list my domain with an AAAA record.

I can solve 2) easilly, but 1) will have to be solved some time later, when my ISP blesses me with a proper connection.

How do I set up Discourse to host on either both ipv4 and ipv6, or ipv4 only?

---

_[View the full topic](https://meta.discourse.org/t/how-to-configure-ipv4-ipv6-settings/29263)._
