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