mdounin at mdounin.ru
Thu Jun 2 13:33:59 MSD 2011
On Thu, Jun 02, 2011 at 09:33:49AM +0700, Edho P Arief wrote:
> On Thu, Jun 2, 2011 at 5:05 AM, Les Aker <me at lesaker.org> wrote:
> > Yes, except that I want it to bind to both v4 and v6 for those site.
> > My question was why the [::] causes it to fail to bind to 127.0.0.1, but works just fine with [::1], when the [::] should be binding to both of those in exactly the same way?
> My wild guess would be because it went like this:
> - nginx lookup localhost
> - found two entries; ::1 and 127.0.0.1
> - nginx bind to ::1
> - linux's behavior caused binding to ::1 also binds to 127.0.0.1
> - nginx bind to 127.0.0.1
> - already bind from previous ::1, reporting error
More information about the nginx