Re: Connecting to Postgres under Linux in VMWare from WindowsXP!!! (fwd)

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: <lutscher2002(at)t-online(dot)de>, <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Connecting to Postgres under Linux in VMWare from WindowsXP!!! (fwd)
Date: 2002-12-20 14:28:58
Message-ID: 03AF4E498C591348A42FC93DEA9661B88533@mail.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

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

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2002-12-20 15:14:42 Re: Connecting to Postgres under Linux in VMWare from WindowsXP!!! (fwd)
Previous Message Jean-Michel POURE 2002-12-20 14:27:31 Re: Connecting to Postgres under Linux in VMWare from WindowsXP!!! (fwd)