Skip site navigation (1) Skip section navigation (2)

Re: No connection to a PG 8.0 Beta 1 win32 server

From: Richard Huxton <dev(at)archonet(dot)com>
To: Secrétariat <ets(at)rolland-fr(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: No connection to a PG 8.0 Beta 1 win32 server
Date: 2004-08-24 11:07:46
Message-ID: 412B2182.9060503@archonet.com (view raw or flat)
Thread:
Lists: pgsql-general
Secrétariat wrote:
> Hello !
> 
> I've corrected my win32 pg_hba.conf, it contains :
> host all all 127.0.0.1     255.255.255.255 md5
> host all all 192.168.0.0 255.255.255.0 md5
> but I can't connect from my W2k client at IP 192.168.0.11 !

Open a command-prompt on the client and try to telnet to your server, 
port 5432.
Type "aa" and hit return - you should get an error message complaining 
about a bad "startup packet".

Do the same from the server to the external IP address and then 127.0.0.1

If none of these work, then PG probably isn't listening. If 127.0.0.1 
works but one or more of the others don't then check your firewall.

-- 
   Richard Huxton
   Archonet Ltd

In response to

Responses

pgsql-general by date

Next:From: Gaetano MendolaDate: 2004-08-24 11:13:40
Subject: Re: Connection to a PG 8.0 Beta 1 win32 server
Previous:From: Daniel MartiniDate: 2004-08-24 10:30:55
Subject: Re: pg_dump in stand alone backend

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group