> -----Original Message-----
> From: Bernd Wollny [mailto:[EMAIL PROTECTED]] 
> Sent: 20 December 2002 14:07
> To: [EMAIL PROTECTED]
> Subject: [pgadmin-support] Connecting to Postgres under Linux 
> in VMWare from WindowsXP!!! (fwd)
> 
> 
> Hi!
> 
> I think, this is my last chance to get a solution form my 
> problem. And this is the following:
> background:
> postgres running under linux as guest in VMWare.
> Windows XP as host. Trying to connect from pgadmin under Win 
> XP. Now i can't connect to postgres! There's always the 
> following error message:
> 
> 
> 2002-12-18 22:44:59 - 
> *************************************************
> 2002-12-18 22:44:59 - Error(s)
> 2002-12-18 22:44:59 - 
> *************************************************
> 2002-12-18 22:44:59 - Error in pgAdmin 
> II:frmConnect.cmdConnect_Click: -2147467259 - Could not 
> connect to the server; Could not connect to remote socket.
> 
> 2002-12-18 22:44:59 - Windows Version: Windows XP v5.1 build 2600 
> 2002-12-18 22:44:59 - pgSchema Version: 1.4.1
> 2002-12-18 22:44:59 - MDAC Version: 2.7
> 2002-12-18 22:44:59 - cnPostgreSQL.State = adStateClosed
> 
> Where's the fault?
> I started Postgres with the -i option for tcp/ip sockets!
> Hope for answers!

From a command prompt on your XP box, if you telnet to port 5432 on your
linux VM and hit return a couple of times, what do you see? For example,
here I get (pg 7.2):

C:\>telnet postgresql 5432
Trying 192.168.1.43...
Connected to nibbler.vale-housing.co.uk.
Escape character is '^]'.


EFATAL 1:  invalid length of startup packet
 Connection closed by foreign host.

C:\>

Regards, Dave.

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to