On Fri, Nov 24, 2006 at 04:42:56PM -0500, Tom Lane wrote: > > Surely that is not a correct tunnel setup ... you can't have both ends > being the same port number on the same machine. There Can Be Only One > process listening on a given port per machine.
I think he is refering the -L option of ssh that specifies that the given port on the local (client) host is to be forwarded to the given host and port on the remote side. I do this on a test web server all the time: -L8080:localhost:8080 If I enter the url localhost:8080 in the browser it is forwarded on to the remote via the ssh tunnel. ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq