From: Tom Lane <tgl@sss.pgh.pa.us>
To: Joe Dieckert <dieckert@cabnet.net>
Cc: pgsql-interfaces@postgreSQL.org <pgsql-interfaces@postgreSQL.org>
Subject: Re: [INTERFACES] cant connect
Date: Sun, 11 Apr 1999 11:38:52 -0400
Message-ID: <12537.923845132@sss.pgh.pa.us> (raw)
In-Reply-To: <3710D4A0.2966128A@cabnet.net>
Joe Dieckert <dieckert@cabnet.net> writes:
> The backend start okay and we can access the data on the local machine
> runing psql but cannont on another machine on the same net. We tried
> adding PAM modules and adding the tcp port to the services files. We
> tried to log in as many different users but it just keeps telling us on
> the remote and local machine that authenication has failed.
Sounds like the pg_hba.conf file on the server machine is not set up
to allow access from anywhere except that same machine. It has to
contain an entry matching the IP address of the machine you want to
connect from. See the administrator documentation, or check the
archives of this list --- I recall the same problem being discussed
just a week or two back.
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, dieckert@cabnet.net
Subject: Re: [INTERFACES] cant connect
In-Reply-To: <12537.923845132@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