Re: How do I prevent binding to TCP/IP port outside of localhost? - Mailing list pgsql-general

From hubert depesz lubaczewski
Subject Re: How do I prevent binding to TCP/IP port outside of localhost?
Date
Msg-id 9e4684ce0603040610k500fdc67i3564ff352b0e2f6a@mail.gmail.com
Whole thread Raw
In response to How do I prevent binding to TCP/IP port outside of localhost?  (Karl Wright <kwright@metacarta.com>)
List pgsql-general
On 2/23/06, Karl Wright <kwright@metacarta.com> wrote:
> I have a situation where I need postgres to LISTEN and allow BINDs to
> its TCP/IP port (5432) only to connections that originate from
> localhost.  I need it to not accept *socket* connections if requests

with new postgresql's (i dont know which version you are using) you
can specify ip address to bind to. so you have to bind to 127.0.0.1

depesz

pgsql-general by date:

Previous
From: "Rolf Østvik"
Date:
Subject: Re: Quick psqlODBC driver setting
Next
From: "Andrus Moor"
Date:
Subject: Using same database from XP and Linux in notebook