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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-general by date

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