pg_hba.conf error

From: pgsql-gen Newsgroup ((at)Basebeans(dot)com) <pgsql-gen(at)basebeans(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: pg_hba.conf error
Date: 2002-03-21 17:10:01
Message-ID: 200203211710.g2LHA1J05937@basebeans.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Subject: pg_hba.conf error
From: "alt.cybercafes" <pmunis(at)hotmail(dot)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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message daniel 2002-03-21 18:27:24 Re: Newbie question - Which Linux?
Previous Message Matthew Stanfield 2002-03-21 16:55:41 Newbie question - Which Linux?