Re: [INTERFACES] cant connect

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Dieckert <dieckert(at)cabnet(dot)net>
Cc: "pgsql-interfaces(at)postgreSQL(dot)org" <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: Re: [INTERFACES] cant connect
Date: 1999-04-11 15:38:52
Message-ID: 12537.923845132@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Joe Dieckert <dieckert(at)cabnet(dot)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

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Joe Dieckert 1999-04-11 16:58:09 cant connect
Previous Message Wybo Dekker 1999-04-11 12:29:53 Re: [INTERFACES] Fastest import?