Re: Solutions for listening on multiple ports? - Mailing list pgsql-general

From Scott Marlowe
Subject Re: Solutions for listening on multiple ports?
Date
Msg-id dcc563d10710091012j53bd55b8m6a67d5eea5ebe4bf@mail.gmail.com
Whole thread Raw
In response to Solutions for listening on multiple ports?  ("Jason L. Buberel" <jason@buberel.org>)
List pgsql-general
On 10/9/07, Jason L. Buberel <jason@buberel.org> wrote:
>
>  Is there a 'generally accepted' best practice for enabling a single
> postgres instance to listen for client connections on more than one ip/port
> combination?
>
>  As far as I can tell, the 'listen_address' and 'port' configuration
> variables can only accommodate single values:
>
>  listen_address = 127.0.0.1
>  port = 5432

As mentioned by someone else, you can have > 1 IP be listended to, but
only the one port.  You could likely use port forwarding to accomplish
having pgsql listen on > 1 port.  In linux you'd do this with
iptables.

pgsql-general by date:

Previous
From: Erik Jones
Date:
Subject: Re: Solutions for listening on multiple ports?
Next
From: Alex Vinogradovs
Date:
Subject: Re: PG_TRY(), PG_CATCH()....