ipv4 & ipv6 Virtual Hosting - address in use

Maxim Dounin mdounin at mdounin.ru
Mon Dec 27 16:41:11 MSK 2010


Hello!

On Sun, Dec 26, 2010 at 03:36:16PM -0500, petteyg359 wrote:

> ipv6only=on seems to behave the opposite of what it should. I have a
> default_server listening on all interfaces. It works fine using
> listen [::]:80 default_server;
> listen 80 default_server;
> 
> but if I do
> listen [::]:80 default_server ipv6only=on;
> listen 80 default_server;
> 
> then I get a bunch of errors about already bound addresses on startup.
> net.ipv6.bindv6only is set to 1.

Works ok here.

You may want to provide more details, i.e. exact nginx version you
are using, full config which triggers the problem and OS details.

Maxim Dounin



More information about the nginx mailing list