Re: Connecting via ssh tunnel

From: "Leonel Nunez" <lnunez(at)enelserver(dot)com>
To: "ben short" <ben(at)benshort(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Connecting via ssh tunnel
Date: 2006-11-24 21:45:57
Message-ID: 1763.189.155.92.16.1164404757.squirrel@enelserver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Hi,
>
> I have a postgresql server setup on a Solaris 10 box. I can connect to
> the db via psql from the local machine. What I have been trying to do
> it connect with pgAdmin from my workstation. I have setup the tunnel
> correctly, local port 5432 and destination localhost:5432. Everytime I
> try to connect I get the following message.
>
> 2006-11-24 20:42:48 ERROR : Error connecting to the server: server
> closed the connection unexpectedly
> This probably means the server terminated abnormally
> before or while processing the request.
>
> I havent altered the config files, so postgresql should be listening
> on localhost.
>

on solaris :

telnet localhost 5432 does connect ?

> Any one got any ideas?
>
> Ben
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>

leonel

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Uwe C. Schroeder 2006-11-24 21:53:20 Re: Connecting via ssh tunnel
Previous Message Kevin Field 2006-11-24 21:43:33 Re: Carriage-Return in text field