Welcome! Log In Create A New Profile

Advanced

(no subject)

Les Aker
June 01, 2011 10:36AM
I've found what appears to be a bug in the handling of listen directives for ipv4 and ipv6.

When running two vhosts, one of which listens on [::], the other on localhost, nginx will fail with this error:
2011/06/01 10:12:35 [emerg] 9750#0: bind() to 127.0.0.1:80 failed (98: Address already in use)
My understanding was that this error stems from [::] being inclusive of 127.0.0.1, causing nginx to attempt to bind it twice.
However, replacing the `listen localhost;` with `listen [::1];` removes the error, despite the fact that [::1] is also included within [::].
--
Les Aker



_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

(no subject)

Les Aker June 01, 2011 10:36AM

Re: [no subject]

Rob Schultz June 01, 2011 12:18PM

Re: [no subject]

Les Aker June 01, 2011 06:06PM

Re: [no subject]

edogawaconan June 01, 2011 10:36PM

Re: [no subject]

Maxim Dounin June 02, 2011 05:36AM

Re: your mail

Maxim Dounin June 02, 2011 05:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 137
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready