From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mário Gamito <gamito@netual.pt>
Cc: pgsql-admin@postgresql.org
Subject: Re: Bind PostgreSQL to a specific IP
Date: Tue, 14 Dec 2004 15:56:50 -0500
Message-ID: <17537.1103057810@sss.pgh.pa.us> (raw)
In-Reply-To: <41BF0AF9.7060205@netual.pt>
References: <41BF0AF9.7060205@netual.pt>
=?ISO-8859-1?Q?M=E1rio_Gamito?= <gamito@netual.pt> writes:
> Whenever i start it, it is binded to localhost (netstat -an shows port
> 5342 binded to 127.0.0.1), but i need it to allow incoming connections
> from netowrk 10.10.2.0
Perhaps you forgot the -i switch?
The literal answer to your Subject: question is to use the virtual_host
parameter (or listen_addresses, if you're testing 8.0), but I suspect
that's not actually what you need to do.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, gamito@netual.pt
Subject: Re: Bind PostgreSQL to a specific IP
In-Reply-To: <17537.1103057810@sss.pgh.pa.us>
References: <41BF0AF9.7060205@netual.pt> <17537.1103057810@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox