Re: Remote Server Connection Problem

From: Gokop Goteng <goteng1704(at)yahoo(dot)com>
To: rod(at)iol(dot)ie, pgadmin-support(at)postgresql(dot)org
Subject: Re: Remote Server Connection Problem
Date: 2007-11-22 16:01:12
Message-ID: 687125.68228.qm@web52905.mail.re2.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi Ray,

Thanks for your help. I forgot to tell you that I have done that. See below the hosts I put in pg_hba.conf file:

host rftDatabase "globus" "138.250.104.229" 255.255.255.255 md5
host rftDatabase "globus" "138.250.104.225" 255.255.255.255 md5
host rftDatabase "globus" "138.250.104.226" 255.255.255.255 md5
host rftDatabase "globus" "138.250.104.227" 255.255.255.255 md5
host rftDatabase "globus" "138.250.104.228" 255.255.255.255 md5
host rftDatabase "globus" "138.250.104.230" 255.255.255.255 md5
host rftDatabase "globus" "138.250.104.231" 255.255.255.255 md5
host rftDatabase "globus" "138.250.104.232" 255.255.255.255 md5

I have also put all host in the /etc/hosts.allow file. I have read the client authentication of PostgreSQL. I am using port 5432 (default) for postgres to connect. It works fine for local servers but not for remote servers.

Any help is highly appreciated.

Kind regards
Gokop

rod(at)iol(dot)ie wrote: goteng1704(at)yahoo(dot)com wrote:
> Error connecting to the server: FATAL: no pg_hba.conf entry
> for host "138.250.104.229", user "globus", database
> "rftDatabase", SSL off
>
> 138.250.104.229 is the IP for the local server, 138.250.104.232
> is the IP of the remote server, but is not showing it in the
> error.

There's your problem - you need to give 138.250.104.229 permission to
connect to the remote server by adding a suitable entry to pg_hba.conf -
look up "Client authentication" in the PostgreSQL docs.

Ray.

http://www.iol.ie


---------------------------------
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Gokop Goteng 2007-11-22 16:29:17 Re: Remote Server Connection Problem
Previous Message rod 2007-11-22 14:27:30 Re: Remote Server Connection Problem