pg_hba.conf error - Mailing list pgsql-general

From pgsql-gen Newsgroup (@Basebeans.com)
Subject pg_hba.conf error
Date
Msg-id 200203211710.g2LHA1J05937@basebeans.com
Whole thread Raw
List pgsql-general
Subject: pg_hba.conf error
From: "alt.cybercafes" <pmunis@hotmail.com>
 ===
I am trying to connect to postgresql remotely using pgAdmin2 (within my
private network) . my pg_hba.conf is as follows.
local      all         192.168.1.4                      ident   abcde
 host         all       192.168.1.4       255.255.255.255   ident   abcde

the serverlog is as follows
=======================================
parse_hba: invalid syntax in pg_hba.conf file at line 244, token
"192.168.1.4"
FATAL 1:  Missing or erroneous pg_hba.conf file, see postmaster log for
details
parse_hba: invalid syntax in pg_hba.conf file at line 244, token
"192.168.1.4"
FATAL 1:  Missing or erroneous pg_hba.conf file, see postmaster log for
details
parse_hba: invalid syntax in pg_hba.conf file at line 244, token
"192.168.1.4"
FATAL 1:  Missing or erroneous pg_hba.conf file, see postmaster log for
details

what's the proper way to setup pg_hba.conf to allow remote connection eith
from clients such as pgadmin2 or java (jdbc)? A sample file will be greatly
appreciated.

thanks





pgsql-general by date:

Previous
From: pgsql-gen Newsgroup (@Basebeans.com)
Date:
Subject: correct pg_hba.conf setup for remote connections.
Next
From: "daniel"
Date:
Subject: Re: Newbie question - Which Linux?