Re: Bind PostgreSQL to a specific IP

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mário Gamito <gamito(at)netual(dot)pt>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Bind PostgreSQL to a specific IP
Date: 2004-12-14 20:56:50
Message-ID: 17537.1103057810@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

=?ISO-8859-1?Q?M=E1rio_Gamito?= <gamito(at)netual(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jaime Casanova 2004-12-14 21:26:29 Re: From latin9 to sql_ascii??
Previous Message Michael Fuhr 2004-12-14 16:44:25 Re: Bind PostgreSQL to a specific IP