IPv6 support

r nginx-forum at nginx.us
Wed Apr 22 03:17:23 MSD 2009


I tried to bind nginx to an IPv6 address but impossible... I got the following error:

2009/04/22 00:57:08  21264#0: bind() to [::]:80 failed (98: )

I'm not sure if nginx really supports IPv6, I just tested the --with-ipv6 switch for compilation regarding this thread : http://article.gmane.org/gmane.comp.web.nginx.english/9979

After modifying the configuration file with this line in a server section:

listen    [::]:80

I tested it with nginx -t before loading it:

the configuration file /etc/nginx/nginx.conf syntax is ok
the configuration file /etc/nginx/nginx.conf was tested successfully


Posted at Nginx Forum: http://forum.nginx.org/read.php?2,1307,1307#msg-1307

More information about the nginx mailing list