Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 934BF2E3370 for ; Sat, 15 Dec 2007 19:55:17 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 40551-02 for ; Sat, 15 Dec 2007 19:55:04 -0400 (AST) Received: from blu139-omc2-s20.blu139.hotmail.com (blu139-omc2-s20.blu139.hotmail.com [65.55.175.190]) by postgresql.org (Postfix) with ESMTP id 1E3792E3000 for ; Sat, 15 Dec 2007 19:55:10 -0400 (AST) Received: from BLU102-W6 ([65.55.162.185]) by blu139-omc2-s20.blu139.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 15 Dec 2007 15:55:09 -0800 Message-ID: X-Originating-IP: [99.224.165.45] From: Julio Leyva To: Klay Martens , Subject: Re: pg_hba.conf is driving me nuts Date: Sat, 15 Dec 2007 23:55:09 +0000 Importance: Normal In-Reply-To: <000001c83f0f$37df75b0$0100000a@klaydual> References: <000001c83f0f$37df75b0$0100000a@klaydual> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 15 Dec 2007 23:55:09.0573 (UTC) FILETIME=[ECBF1B50:01C83F75] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/120 X-Sequence-Number: 27637 also make sure you started postgesql with -i option, so you can connect fro= m the lan Julioc. ---------------------------------------- > From: kmartens@wol.co.za > To: pgsql-admin@postgresql.org > Subject: Re: [ADMIN] pg_hba.conf is driving me nuts > Date: Sat, 15 Dec 2007 13:39:44 +0200 >=20 > Hi..yes, I have set the "listen_addresses" to "*"...rather an obvious fir= st > stop...As I said - I have no problems connecting locally, or on a LAN - n= o > sweat at all. Simply cannot get the connection to work from another netwo= rk > over a WAN. I believe the problem stems from my not setting pg_hba.conf > correctly, but I would love to test this! > This is my pg_hba.conf file from my developement box: >=20 > # TYPE DATABASE USER CIDR-ADDRESS METHOD > # IPv4 local connections: > host all all 127.0.0.1/32 md5 > # IPv6 local connections: > host all all 10.0.0.0/24 md5 > host all all 0.0.0.0 0.0.0.0 md5 >=20 > At one stage, I even looked up the source ip address reported by aports w= hen > I was logged onto the machine remotely..even that address did not work. S= o I > figure there is a problem with the subnet mask (don't realy understand th= e > address masks all that well - I am a programmer, not a network tekkie, so= it > is kind of new territory for me). What I was wondering is if there was so= me > way to allow any host to connect, regardless of ip and subnet which was t= he > behaviour I expected from the 0.0.0.0 0.0.0.0 setting - of course it did > absolutely nothing. >=20 >=20 > ---------------------------(end of broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? >=20 > http://www.postgresql.org/docs/faq