August 5th, 2003, 03:53 PM
PostgreSQL jdbc connection refused
I edited pg_hba.conf file, and update host and hostssl sections.
I can connect to database server using psql specifying host address (TCP/IP).
When I use jdbc driver, an error occurs, java throws following exception:
A connection error has occurred: FATAL: Missing or erroneous pg_hba.conf file, see postmaster log for details.
I found that this error occurs at DriverManager.getConnection line.
I don't know what could be happen.