Re: No pg_hba.conf entry - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: No pg_hba.conf entry
Date
Msg-id 13084.982799920@sss.pgh.pa.us
Whole thread Raw
In response to No pg_hba.conf entry  (George Koras <gkoras@cres.gr>)
List pgsql-jdbc
George Koras <gkoras@cres.gr> writes:
> java.sql.SQLException: No pg_hba.conf entry for host 143.233.73.254,
> user aaa, database bbb

> However, the only lines in pg_hba.conf that are not commented out are:

> local        all                                         trust
> host         all         127.0.0.1     255.255.255.255   trust
> host         all         143.233.73.0  255.255.255.0     trust

> Isn't this strange?

Yes, very.  Are you sure you and the postmaster are looking at the same
file?  Is there some kind of formatting problem with the file, such as
using non-Unix newlines?  Have you looked at the postmaster log to see
if it gives any more detail?

            regards, tom lane

pgsql-jdbc by date:

Previous
From: George Koras
Date:
Subject: No pg_hba.conf entry
Next
From: Peter T Mount
Date:
Subject: Re: No pg_hba.conf entry