# Ngnix no se inicia en VM con IPv6 deshabilitado

**URL:** <https://meta.discourse.org/t/ngnix-fails-to-start-on-vm-with-ipv6-disabled/112918>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [29 Marzo, 2019 12:53 UTC](https://meta.discourse.org/t/ngnix-fails-to-start-on-vm-with-ipv6-disabled/112918 "2019-03-29T12:53:59Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![chrisc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisc/32/119982_2.png) [@chrisc](https://meta.discourse.org/u/chrisc)\
**Post date:** [29 Marzo, 2019 15:00 UTC](https://meta.discourse.org/t/ngnix-fails-to-start-on-vm-with-ipv6-disabled/112918/9 "2019-03-29T15:00:20Z")

</div>

But this virtual server don’t have IPv6 configured and it appears that as a result the IPv6 line in `/etc/nginx/letsencrypt.conf`:

```nginx
    listen [::]:80;

```

Is the thing that is stopping Nginx from starting — I’m not sure what solution you are suggesting, my solution appears to work:

```plaintext
I, [2019-03-29T14:57:26.021690 #14] INFO -- : Beginning of custom commands

I, [2019-03-29T14:57:26.023075 #14] INFO -- : > sed -e 's/listen \[::\]:80;/#listen [::]:80;/' -i /etc/nginx/letsencrypt.conf
I, [2019-03-29T14:57:26.030390 #14] INFO -- : 
I, [2019-03-29T14:57:26.030529 #14] INFO -- : > /usr/sbin/nginx -t -c /etc/nginx/letsencrypt.conf
nginx: the configuration file /etc/nginx/letsencrypt.conf syntax is ok
nginx: configuration file /etc/nginx/letsencrypt.conf test is successful
I, [2019-03-29T14:57:26.045517 #14] INFO -- : 

```

---

_[View the full topic](https://meta.discourse.org/t/ngnix-fails-to-start-on-vm-with-ipv6-disabled/112918)._
