From: Paul Forgey <paulf@aphrodite.com>
To: pgsql-admin@postgresql.org
Subject: remote connections to Windows based server
Date: Fri, 17 Nov 2006 13:39:53 -0800
Message-ID: <D8A7F8DD-90B2-48E9-9F4D-46F8C324F8AB@aphrodite.com> (raw)
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
C:] psql -U postgres -d postgres
Password for user postgres:
If I remove the 127.0.0.1 line from pg_hba.conf, I cannot connect at
all.
What more do I need to do?
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
Subject: Re: remote connections to Windows based server
In-Reply-To: <D8A7F8DD-90B2-48E9-9F4D-46F8C324F8AB@aphrodite.com>
References: <D8A7F8DD-90B2-48E9-9F4D-46F8C324F8AB@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