Welcome! Log In Create A New Profile

Advanced

Re: How to bind nginx to ipv4 and ipv6 interface ?

December 19, 2012 02:02PM
On Nov 27, 2012, at 1:50 , hristoc wrote:

> Hello,
> any one can tell me what is wrong on my nginx 1.2.5 version compied with
> ipv6 suppot ? I try to start nginx on both ipv4 and ipv6. I read on internet
> if I put in my config file: listen [::]:80; is enought and nginx will bind
> on both ipv4 and ipv6 interfaces or even if I compile nginx with ipv6
> support is enought and on listen 80; will bind to ip4 and ip6, but i receive
> follow error:
>
> [emerg] 15728#0: bind() to [::]:80 failed (98: Address already in use
>
>
> Any hints how to start nginx on both intefaces ?

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


--
Igor Sysoev
http://nginx.com/support.html

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

How to bind nginx to ipv4 and ipv6 interface ?

hristoc November 26, 2012 04:50PM

Re: How to bind nginx to ipv4 and ipv6 interface ?

hristoc December 19, 2012 01:25PM

Re: How to bind nginx to ipv4 and ipv6 interface ?

GreenGecko December 19, 2012 01:32PM

Re: How to bind nginx to ipv4 and ipv6 interface ?

Igor Sysoev December 19, 2012 02:02PM

RE: How to bind nginx to ipv4 and ipv6 interface ?

Lukas Tribus December 20, 2012 03:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 269
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