Unable to bind using ipv6

http://pastebin.com/raw.php?i=hby7CsDs

Using Ubuntu 10.10, As soon as I change the line back to “Listen 80;”
nginx
works fine.

[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: still could not bind()

Ah,

listen 80;
listen [::]:80 ipv6only=on;*

*rather than simply,

listen [::]:80;

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs