Re: How to access service using LAN

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: santoso berkah <im_id(at)yahoo(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: How to access service using LAN
Date: 2003-09-15 05:45:37
Message-ID: 3825.1063604737@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

santoso berkah <im_id(at)yahoo(dot)com> writes:
> I try to set up the pg_hba.conf:

> localhost mindik 192.168.0.3 trust

BTW, this is certainly wrong... PG 7.2 supports these two syntaxes:

# Unix sockets:
local all trust
# TCP sockets:
host all 127.0.0.1 255.255.255.255 trust

You might perhaps also want
host all 192.168.0.3 255.255.255.255 trust
or
host all 192.168.0.0 255.255.255.0 trust
depending on your local network setup.

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Steve Bond 2003-09-15 09:10:40 Re: Error: The database does not exist on the server
Previous Message Tom Lane 2003-09-15 05:17:32 Re: How to access service using LAN