Thread: IPv6 connection / JDBC (?)

IPv6 connection / JDBC (?)

From
postgres@nitwit.de
Date:
Hi!

I run pg7.4 on a SuSE 9.1 (IPv6) machine (linux 2.6); despite I added

host    all         all         ::1
ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff        password

to my pg_hba.conf, connecting to the database via JDBC (pg74.213.jdbc3.jar)
fails:

org.postgresql.util.PSQLException: A connection error has occurred:
org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host
"::1", user "foo", database "bar", SSL off