X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 698A83A6FFF for ; Tue, 14 Dec 2004 16:45:28 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 54414-07 for ; Tue, 14 Dec 2004 16:45:21 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id 12B063A6FE7 for ; Tue, 14 Dec 2004 16:45:20 +0000 (GMT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.1/8.13.1) with ESMTP id iBEGiQZv010113 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 14 Dec 2004 09:44:28 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.1/8.13.1) with ESMTP id iBEGiPlx000461; Tue, 14 Dec 2004 09:44:25 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.1/8.13.1/Submit) id iBEGiPoV000460; Tue, 14 Dec 2004 09:44:25 -0700 (MST) (envelope-from mfuhr) Date: Tue, 14 Dec 2004 09:44:25 -0700 From: Michael Fuhr To: Benjamin GASSMANN Cc: =?iso-8859-1?Q?M=E1rio?= Gamito , pgsql-admin@postgresql.org Subject: Re: Bind PostgreSQL to a specific IP Message-ID: <20041214164425.GA396@winnie.fuhr.org> References: <41BF0AF9.7060205@netual.pt> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.003 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/126 X-Sequence-Number: 15712 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 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/