postmaster listening on specified addresses

From: Administrator <admin(at)photoresearchers(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: postmaster listening on specified addresses
Date: 2005-01-14 20:28:24
Message-ID: 41E82B68.5080100@photoresearchers.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I was wondering if there's a correct method for running postmaster with the
option of listening on a select group of addresses. Does postmaster accept
multiple "-h hostname" options on the command-line, or alternatively a
comma-separated list of hostnames or addresses? What if you have a server with
multiple network interfaces and addresses assigned to each, and you only want
postmaster to listen on a specific subset of those addresses in addition to
localhost? Does anyone know if there a supported method for doing this?

The documentation for the "-h" option only states: "Specifies the TCP/IP host
name or address on which the postmaster is to listen for connections from client
applications. Defaults to listening on all configured addresses (including
localhost)." Clearly the server is capable of listening on mutliple addresses
since the default is all of them, but the "-h" option is described only for use
with a single address.

Thanks,

Brian Carp

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tony Caduto 2005-01-14 20:29:47 is there anyway to get the backends IP address from the PID?
Previous Message Alvaro Herrera 2005-01-14 20:10:10 Re: OID Usage