Re: ssl tunneling in postgres 8.1 - Mailing list pgsql-novice

From Tom Lane
Subject Re: ssl tunneling in postgres 8.1
Date
Msg-id 16734.1227064219@sss.pgh.pa.us
Whole thread Raw
In response to Re: ssl tunneling in postgres 8.1  ("P Kapat" <kap4lin@gmail.com>)
Responses Re: ssl tunneling in postgres 8.1
List pgsql-novice
"P Kapat" <kap4lin@gmail.com> writes:
> On Tue, Nov 18, 2008 at 2:59 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> My bet is that you have the Postgres server configured so that it
>> only accepts Unix-socket connections and not local TCP connections
>> (which is what the SSH tunnel will try to connect to).  If you do
>> "psql -h localhost" on the remote server, does it work?

> Well, it seems to connect:

Huh.  It should work then ... and does work when I try it here.
Are you sure you put the right port numbers in the SSH command
line (eg, 5432 is really the port Postgres is listening to)?

            regards, tom lane

pgsql-novice by date:

Previous
From: "P Kapat"
Date:
Subject: Re: ssl tunneling in postgres 8.1
Next
From: "P Kapat"
Date:
Subject: Re: ssl tunneling in postgres 8.1