Re: How to access service using LAN - Mailing list pgsql-novice

From Tom Lane
Subject Re: How to access service using LAN
Date
Msg-id 3825.1063604737@sss.pgh.pa.us
Whole thread Raw
In response to How to access service using LAN  (santoso berkah <im_id@yahoo.com>)
Responses Re: How to set up postgres user
List pgsql-novice
santoso berkah <im_id@yahoo.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

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: How to access service using LAN
Next
From: Steve Bond
Date:
Subject: Re: Error: The database does not exist on the server