Re: BUG #7632: Postgres binds to all IPs even when listen_addresses="localhost"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pj(at)illuminatedcomputing(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #7632: Postgres binds to all IPs even when listen_addresses="localhost"
Date: 2012-10-31 20:06:52
Message-ID: 15992.1351714012@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

pj(at)illuminatedcomputing(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Paul Jungwirth 2012-10-31 20:43:42 Re: BUG #7632: Postgres binds to all IPs even when listen_addresses="localhost"
Previous Message pj 2012-10-31 19:38:30 BUG #7632: Postgres binds to all IPs even when listen_addresses="localhost"