Search Postgresql Archives

Re: Solutions for listening on multiple ports?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/9/07, Jason L. Buberel <jason@xxxxxxxxxxx> 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.

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
       message can get through to the mailing list cleanly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux