Re: How do I prevent binding to TCP/IP port outside of localhost?

From: "hubert depesz lubaczewski" <depesz(at)gmail(dot)com>
To: "Karl Wright" <kwright(at)metacarta(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How do I prevent binding to TCP/IP port outside of localhost?
Date: 2006-03-04 14:10:46
Message-ID: 9e4684ce0603040610k500fdc67i3564ff352b0e2f6a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2/23/06, Karl Wright <kwright(at)metacarta(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrus Moor 2006-03-04 15:51:46 Using same database from XP and Linux in notebook
Previous Message sylsau14 2006-03-04 13:08:27 Questions about privileges