Re: Listening on more than one port?

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Listening on more than one port?
Дата
Msg-id 20060830200923.GQ13929@svana.org
обсуждение исходный текст
Ответ на Listening on more than one port?  ("Michael Nolan" <htfoot@gmail.com>)
Ответы Re: Listening on more than one port?  ("Michael Nolan" <htfoot@gmail.com>)
Список pgsql-general
On Wed, Aug 30, 2006 at 02:42:58PM -0500, Michael Nolan wrote:
> I need to be able to have postmaster (8.1.2) listen on more than one port,
> eg, 5432 and some other port, such as 5431.

Why?

> If I set up a TCP port redirector like rinetd, to forward packets from port
> 5431 to port 5432 it appears to be forwarding packets to the right port with
> a simple telnet session (based on errors in the log file) but psql still
> says there is no postmaster listening on port 5431.

Are you sure psql was using TCP? If you're connecting to the localhost
maybe it used UNIX domain sockets. It still needs a matching port
number there too...

> Is there a simple way to do this that I'm overlooking?

Address translation in the firewall?

Hope this helps,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Tony Caduto
Дата:
Сообщение: Re: Dblink and connections to MySQL?
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Postgresql mentioned on Newsforge MySQL article