pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Paul Forgey <paulf@aphrodite.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: remote connections to Windows based server
Date: Fri, 17 Nov 2006 17:43:11 -0500
Message-ID: <21704.1163803391@sss.pgh.pa.us> (raw)
In-Reply-To: <D8A7F8DD-90B2-48E9-9F4D-46F8C324F8AB@aphrodite.com>
References: <D8A7F8DD-90B2-48E9-9F4D-46F8C324F8AB@aphrodite.com>

Paul Forgey <paulf@aphrodite.com> writes:
> 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

> postgresql.conf:
> listen_address = '*'

> C:] psql -U postgres -d postgres -h swift
> psql: FATAL:  no pg_hba.conf entry for host "10.6.1.226", user  
> "postgres", database "postgres", SSL off

Hm, that sure looks like it should work, or at least not fail in that
particular way.  Are you sure you restarted or SIGHUP'd the postmaster
after setting up the pg_hba.conf file?

			regards, tom lane



view thread (7+ messages)  latest in thread

Message-ID: <21704.1163803391@sss.pgh.pa.us>
Permalink:  ../21704.1163803391@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/21704.1163803391@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, paulf@aphrodite.com
  Subject: Re: remote connections to Windows based server
  In-Reply-To: <21704.1163803391@sss.pgh.pa.us>
  References: <D8A7F8DD-90B2-48E9-9F4D-46F8C324F8AB@aphrodite.com> <21704.1163803391@sss.pgh.pa.us>

* 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