Re: BUG #7632: Postgres binds to all IPs even when listen_addresses="localhost" - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #7632: Postgres binds to all IPs even when listen_addresses="localhost"
Date
Msg-id 15992.1351714012@sss.pgh.pa.us
Whole thread Raw
In response to BUG #7632: Postgres binds to all IPs even when listen_addresses="localhost"  (pj@illuminatedcomputing.com)
Responses Re: BUG #7632: Postgres binds to all IPs even when listen_addresses="localhost"  (Paul Jungwirth <pj@illuminatedcomputing.com>)
List pgsql-bugs
pj@illuminatedcomputing.com writes:
> After a default install of Postgres, I see that it's binding not just to
> localhost, but also to my public IP.

This behaves as expected for me.  I'm wondering whether your DNS
server is resolving "localhost" as meaning both 127.0.0.1 and your
public IP.  "dig localhost." might be illuminating.

            regards, tom lane

pgsql-bugs by date:

Previous
From: pj@illuminatedcomputing.com
Date:
Subject: BUG #7632: Postgres binds to all IPs even when listen_addresses="localhost"
Next
From: Paul Jungwirth
Date:
Subject: Re: BUG #7632: Postgres binds to all IPs even when listen_addresses="localhost"