Re: Client Authentication problem

From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: Vaneet Sharma <vaneet(at)iwg(dot)info>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Client Authentication problem
Date: 2005-04-27 17:13:14
Message-ID: 1114621994.13303.1310.camel@state.g2switchworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, 2005-04-27 at 11:43, Vaneet Sharma wrote:
> Hello,
>
> I am using postgreSQL 8.0.2
>
> I configured the database, started postmaster. It is running well. I
> can check and see it with ps anx command.
>
> I am running postgreSQL on centos 3.4 and Centos 4.0 machines
>
> Well, I created a database called test as well by command line on
> secure CRT
>
> Now the problem is that:
> When I try to connect to my server using pgAdminIII, it is giving me
> the following error :
>
> "Error connecting to the server: could not connect to the server: No
> route to host ( 0X00002751/10065).
> Is the server running on host 212.xx.xxx.xxx and accepting TCP/IP
> connections on port 5432? "
>
>
> I have read pg_hba file and also included the IP entry of my machine
> from which I am connecting
> Entry Is below:
>
> host all all 192.168.50.122 255.255.255.0
> trust

This sounds like a networking problem right now.

I note that the IP you're trying to connect to has a 212.xxx.xxx.xxx
while the host you're connecting from needs to be 192.168.xxx.xxx.
Since 192.168 is generally not routed around a lot, I'm guessing you've
got a dns / etc/hosts issue but can't really be sure.

what does 'traceroute dbhostname' say?

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2005-04-27 17:27:30 Re: security via views
Previous Message Vaneet Sharma 2005-04-27 16:43:42 Client Authentication problem