Re: Limiting postmaster to listen in a particular ip address only

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Rajesh Kumar Mallah <mallah(at)trade-india(dot)com>
Cc: Postgres Admin List <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Limiting postmaster to listen in a particular ip address only
Date: 2004-10-26 16:32:32
Message-ID: 20041026163232.GA98536@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, Oct 26, 2004 at 08:48:38PM +0530, Rajesh Kumar Mallah wrote:
>
> I have two NICs in my machine i want that postmaster shud only listen to the
> internal NIC . I cannot limit it to listen in unix domain sockets only
> because it needs to be accessed from other machine inside LAN.

In PostgreSQL 7.4 and earlier, set the virtual_host configuration
variable in postgresql.conf. In 8.0 (currently in beta), use
listen_addresses.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Ben Kim 2004-10-26 18:18:28 Re: Question: drop database problem
Previous Message Tom Lane 2004-10-26 16:27:19 Re: Limiting postmaster to listen in a particular ip address only