Re: Bind PostgreSQL to a specific IP

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Benjamin GASSMANN <benjamin(at)actimage(dot)net>
Cc: Mário Gamito <gamito(at)netual(dot)pt>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Bind PostgreSQL to a specific IP
Date: 2004-12-14 16:44:25
Message-ID: 20041214164425.GA396@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, Dec 14, 2004 at 04:57:31PM +0100, Benjamin GASSMANN wrote:
> Le Tue, 14 Dec 2004 15:47:05 +0000, Mário Gamito <gamito(at)netual(dot)pt> a écrit:
> >
> >I've compiled PostgreSQL.
> >Whenever i start it, it is binded to localhost (netstat -an shows port
> >5342 binded to 127.0.0.1), but i need it to allow incoming connections
> >from netowrk 10.10.2.0
>
> have a look at file ph_hba.conf !

Configuring pg_hba.conf won't help if the server isn't accepting
connections on the desired interface. You probably need to make
some changes to postgresql.conf; see the "Connections and Authentication"
section in the "Server Run-time Environment" chapter of the
documentation. Some of the connection settings have changed names
in 8.0, so make sure you're reading the right version of the doc.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2004-12-14 20:56:50 Re: Bind PostgreSQL to a specific IP
Previous Message Benjamin GASSMANN 2004-12-14 15:57:31 Re: Bind PostgreSQL to a specific IP