IPv6 connection / JDBC (?)
IPv6 connection / JDBC (?)
От:
postgres@nitwit.de
Дата:
Hi! You online form still doesn't work (and my subscription to a mailing list wasn't answered either)... 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 -- http://nentwig.biz/ (J2EE) http://nitwit.de/
Re: IPv6 connection / JDBC (?)
От:
Kris Jurka <books@ejurka.com>
Дата:
On Sun, 16 May 2004 postgres@nitwit.de wrote: > 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 Is there any chance that connections from your machine to ::1 don't look like they are coming from ::1, but some other local address? If so the mask portion of the pg_hba.conf entry would not match. Just an idea. Kris Jurka