Igor Sysoev Wrote: ------------------------------------------------------- > No, you just need to set: > > listen [::]:80 default ipv6only=on; > > because Linux bind()s to both ipv4 and ipv6 by default. Oh, how embarrassing, this is basically what you already said above ... Sorry 'bout that. I found the most intuitive solution was binding to explicit addresses,by kuisma - Nginx Mailing List - English
The opposite situation is also true. I tried out IPv6, but my first server definition did only use IPv4, making the later IPv6 enabled server definition fail to bind. 2009/09/27 09:12:41 30088#0: bind() to [::]:80 failed (98: Address already in use) 2009/09/27 09:12:41 30088#0: try again to bind() after 500ms Now after reading this posting, realizing I must enable it for all vhosts, but Iby kuisma - Nginx Mailing List - English