IPv6 support

Weibin Yao nbubingo at gmail.com
Mon Feb 1 10:53:43 MSK 2010


任晓磊 at 2010-2-1 15:41 wrote:
> Sorry for typo.
>
> I set "listen  80; listen [::]:80;" , got "[emerg]: bind() to [::]:80
> failed (98: Address already in use)"
>
> I set " listen [::]:80; listen  80;", got "[emerg]: bind() to
> 0.0.0.0:80 failed (98: Address already in use)
http://wiki.nginx.org/NginxHttpCoreModule#listen

"When Linux (in contrast to FreeBSD) binds IPv6 [::], it will also bind 
the corresponding IPv4 address."

In your box, I think 'listen [::]:80;' is enough.

-- 
Weibin Yao




More information about the nginx mailing list