No pg_hba.conf entry - Mailing list pgsql-jdbc

From George Koras
Subject No pg_hba.conf entry
Date
Msg-id 3A93F700.AC69626E@cres.gr
Whole thread Raw
Responses Re: No pg_hba.conf entry  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: No pg_hba.conf entry  (Peter T Mount <peter@retep.org.uk>)
List pgsql-jdbc
Hello,

When I try to connect via JDBC to PostgreSQL I get the following error
message:

Error -- Something unusual has occured to cause the driver to fail.
Please report this exception:
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? I tried this with both jdbc6.5-1.2.jar and
jdbc7_0-1_2.jar from 143.233.73.254 which runs Linux and from my WinNT
4.0 (sp6) machine and for different databases.

I use PostgreSQL 6.5.2 and before you ask, yes postmaster runs with the
-i option set.

Any comments will be more than welcome.




pgsql-jdbc by date:

Previous
From: Tom Albinson
Date:
Subject: Re: [INTERFACES] First-time JDBC setup with Jakarta! Whee!
Next
From: Tom Lane
Date:
Subject: Re: No pg_hba.conf entry