pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Forgey <paulf@aphrodite.com>
To: Jeff Frost <jeff@frostconsultingllc.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: remote connections to Windows based server
Date: Fri, 17 Nov 2006 16:22:58 -0800
Message-ID: <B69C8279-93B5-476F-95D3-C0EFDC3C4791@aphrodite.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0611171440140.23695@discord.home.frostconsultingllc.com>
References: <D8A7F8DD-90B2-48E9-9F4D-46F8C324F8AB@aphrodite.com>
	<Pine.LNX.4.64.0611171440140.23695@discord.home.frostconsultingllc.com>

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.




view thread (7+ messages)

Message-ID: <B69C8279-93B5-476F-95D3-C0EFDC3C4791@aphrodite.com>
Permalink:  ../B69C8279-93B5-476F-95D3-C0EFDC3C4791@aphrodite.com/
Also on:    postgresql.org/message-id/B69C8279-93B5-476F-95D3-C0EFDC3C4791@aphrodite.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: paulf@aphrodite.com, jeff@frostconsultingllc.com
  Subject: Re: remote connections to Windows based server
  In-Reply-To: <B69C8279-93B5-476F-95D3-C0EFDC3C4791@aphrodite.com>
  References: <D8A7F8DD-90B2-48E9-9F4D-46F8C324F8AB@aphrodite.com> <Pine.LNX.4.64.0611171440140.23695@discord.home.frostconsultingllc.com> <B69C8279-93B5-476F-95D3-C0EFDC3C4791@aphrodite.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox