Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id B75AA9F9FE2 for ; Fri, 17 Nov 2006 20:23:28 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 22301-04 for ; Fri, 17 Nov 2006 20:23:23 -0400 (AST) X-Greylist: delayed 02:43:04.373285 by SQLgrey- Received: from tiddles.aphrodite.com (tiddles.aphrodite.com [216.231.47.120]) by postgresql.org (Postfix) with ESMTP id C930C9F9FB2 for ; Fri, 17 Nov 2006 20:23:22 -0400 (AST) Received: from [10.6.1.234] (spot.aphrodite.trillium [10.6.1.234]) (authenticated bits=0) by tiddles.aphrodite.com (8.13.7/8.13.6) with ESMTP id kAI0MxT3024126 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 17 Nov 2006 16:23:00 -0800 In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: pgsql-admin@postgresql.org Content-Transfer-Encoding: 7bit From: Paul Forgey Subject: Re: remote connections to Windows based server Date: Fri, 17 Nov 2006 16:22:58 -0800 To: Jeff Frost X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/178 X-Sequence-Number: 23705 On Nov 17, 2006, at 2:41 PM, Jeff Frost wrote: > On Fri, 17 Nov 2006, Paul Forgey wrote: > >> I am running the pre-built Windows version of postgresql 8.1. I >> have a local LAN with a 10.6/16 network. Apparently there's >> something more than what's in the FAQ or my interpretation of the >> manual to get remote connections working. >> >> pg_hba.conf: >> host all all 10.6/16 md5 >> host all all 127.0.0.1/32 md5 > > Paul, > > Did you try: > host all all 10.6.0.0/16 md5 > > ? > > I believe you must list all 4 octets of the subnet. It says this > in the docs: > > The mask length indicates the number of high-order bits of the > client IP address that must match. Bits to the right of this must > be zero in the given IP address. > > Which tells me the 0s have to be there. > D'oh yes, I overlooked that. specifying 10.6.0.0 worked. Thank you.