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 DF40D3AAC26 for ; Tue, 14 Dec 2004 23:59:32 +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 19814-01 for ; Tue, 14 Dec 2004 23:59:26 +0000 (GMT) Received: from www.postgresql.com (unknown [200.46.204.209]) by svr1.postgresql.org (Postfix) with ESMTP id BB2363AAC6F for ; Tue, 14 Dec 2004 23:58:32 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by www.postgresql.com (Postfix) with ESMTP id C7CCC7391B1 for ; Tue, 14 Dec 2004 20:58:23 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id iBEKuoM9017538; Tue, 14 Dec 2004 15:56:50 -0500 (EST) To: =?ISO-8859-1?Q?M=E1rio_Gamito?= Cc: pgsql-admin@postgresql.org Subject: Re: Bind PostgreSQL to a specific IP In-reply-to: <41BF0AF9.7060205@netual.pt> References: <41BF0AF9.7060205@netual.pt> Comments: In-reply-to =?ISO-8859-1?Q?M=E1rio_Gamito?= message dated "Tue, 14 Dec 2004 15:47:05 +0000" Date: Tue, 14 Dec 2004 15:56:50 -0500 Message-ID: <17537.1103057810@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/129 X-Sequence-Number: 15715 =?ISO-8859-1?Q?M=E1rio_Gamito?= writes: > 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 Perhaps you forgot the -i switch? The literal answer to your Subject: question is to use the virtual_host parameter (or listen_addresses, if you're testing 8.0), but I suspect that's not actually what you need to do. regards, tom lane