Re: postgres only in local socket

From: Jasen Betts <jasen(at)xnet(dot)co(dot)nz>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: postgres only in local socket
Date: 2009-04-28 12:40:58
Message-ID: gt6tgq$kao$3@reversiblemaps.ath.cx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2009-04-28, Developer <dev002(at)pas-world(dot)com> wrote:
> Hello,
>
> In config:
>

>> #listen_addresses = 'localhost' # what IP address(es) to listen on;
>> # comma-separated list of addresses;
>> # defaults to 'localhost', '*' = all
>> # (change requires restart)
>> #port = 5432 # (change requires restart)
>> max_connections = 100 # (change requires restart)

> How to "listen" only in local socket?

listen_addresses=''

assuming you only want only local unix domain sockets (and not localhost TCP/IP)

that seems to work here.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bill Moran 2009-04-28 12:44:50 Re: postgres only in local socket
Previous Message A. Kretschmer 2009-04-28 12:36:15 Re: Huge sample dataset for testing.