Re: Connecting to Postgres under Linux in VMWare from WindowsXP!!! (fwd) - Mailing list pgadmin-support

From Dave Page
Subject Re: Connecting to Postgres under Linux in VMWare from WindowsXP!!! (fwd)
Date
Msg-id 03AF4E498C591348A42FC93DEA9661B88533@mail.vale-housing.co.uk
Whole thread Raw
In response to Connecting to Postgres under Linux in VMWare from WindowsXP!!! (fwd)  (lutscher2002@t-online.de (Bernd Wollny))
Responses Re: Connecting to Postgres under Linux in VMWare from WindowsXP!!! (fwd)  (Jean-Michel POURE <jm.poure@freesurf.fr>)
List pgadmin-support

> -----Original Message-----
> From: Bernd Wollny [mailto:lutscher2002@t-online.de]
> Sent: 20 December 2002 14:07
> To: pgadmin-support@postgresql.org
> 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.

pgadmin-support by date:

Previous
From: Jean-Michel POURE
Date:
Subject: Re: Connecting to Postgres under Linux in VMWare from WindowsXP!!! (fwd)
Next
From: "Dave Page"
Date:
Subject: Re: Connecting to Postgres under Linux in VMWare from WindowsXP!!! (fwd)