Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group