Re: ssl tunneling in postgres 8.1

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "P Kapat" <kap4lin(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: ssl tunneling in postgres 8.1
Date: 2008-11-19 03:10:19
Message-ID: 16734.1227064219@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"P Kapat" <kap4lin(at)gmail(dot)com> writes:
> On Tue, Nov 18, 2008 at 2:59 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message P Kapat 2008-11-19 07:57:08 Re: ssl tunneling in postgres 8.1
Previous Message P Kapat 2008-11-18 23:22:07 Re: ssl tunneling in postgres 8.1