X-Original-To: pgsql-novice-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 2DE0FD1C4BD; Thu, 7 Aug 2003 06:26:26 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 41579-05; Thu, 7 Aug 2003 03:25:02 -0300 (ADT) Received: from anu.edu.au (anumail3.anu.edu.au [150.203.2.43]) by svr1.postgresql.org (Postfix) with ESMTP id D7A8DD1C4CA; Thu, 7 Aug 2003 03:26:13 -0300 (ADT) Received: from anu.edu.au (phred.anu.edu.au [150.203.159.93]) by anu.edu.au (8.12.9/8.12.9) with ESMTP id h776QCgS009056; Thu, 7 Aug 2003 16:26:13 +1000 (EST) Date: Thu, 7 Aug 2003 16:27:48 +1000 Subject: Re: [PHP] authentication question Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Cath Lawrence To: pgsql-php@postgresql.org, pgsql-novice@postgresql.org Content-Transfer-Encoding: 7bit In-Reply-To: <3F31C3A0.5010506@commandprompt.com> Message-Id: <43AF36DA-C8A0-11D7-9EC1-00039390F614@anu.edu.au> X-Mailer: Apple Mail (2.552) X-Sender: cath.lawrence@anu.edu.au X-Sender-Domain: anu.edu.au X-Spam-Score: (-2.3) X-Spam-Tests: IN_REP_TO, QUOTED_EMAIL_TEXT, SPAM_PHRASE_03_05, USER_AGENT_APPLEMAIL X-Scanned-By: MIMEDefang 2.29 (www . roaringpenguin . com / mimedefang) X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/48 X-Sequence-Number: 7854 On Thursday, August 7, 2003, at 01:12 PM, Robby Russell wrote: > Cath Lawrence wrote: > I'm not sure if this will help you or not, but try adding this to the > bottom (seen this as a common practice) > # reject all connections from all hosts not granted above > host all 0.0.0.0 0.0.0.0 reject D'oh! That does it. Thanks Robby. Blindly copy'n'paste-ing a line with the wrong netmask did NOT help! But while I'm here - how does PHP connect? If rejecting connections from the local machine and from 127.0.0.1 didn't do the trick, why not? (Or is that getting into network issues and I needed the host's IP address?) thanks again Cath Cath Lawrence, Cath.Lawrence@anu.edu.au Senior Scientific Programmer, Centre for Bioinformation Science, John Curtin School of Medical Research (room 4088) Australian National University, Canberra ACT 0200 ph: (02) 61257959 mobile: 0421-902694 fax: (02) 61252595