Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group