Re: Solutions for listening on multiple ports?

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Solutions for listening on multiple ports?
Дата
Msg-id dcc563d10710091012j53bd55b8m6a67d5eea5ebe4bf@mail.gmail.com
обсуждение исходный текст
Ответ на Solutions for listening on multiple ports?  ("Jason L. Buberel" <jason@buberel.org>)
Список 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 по дате отправления:

Предыдущее
От: Erik Jones
Дата:
Сообщение: Re: Solutions for listening on multiple ports?
Следующее
От: Alex Vinogradovs
Дата:
Сообщение: Re: PG_TRY(), PG_CATCH()....