pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedIPv6 connection / JDBC (?)
2+ messages / 2 participants
[nested] [flat]
* IPv6 connection / JDBC (?)
@ 2004-05-16 09:46 postgres@nitwit.de
2004-05-16 20:36 ` Re: IPv6 connection / JDBC (?) Kris Jurka <books@ejurka.com>
0 siblings, 1 reply; 2+ messages in thread
From: postgres@nitwit.de @ 2004-05-16 09:46 UTC (permalink / raw)
To: support@postgresql.org
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/
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: IPv6 connection / JDBC (?)
2004-05-16 09:46 IPv6 connection / JDBC (?) postgres@nitwit.de
@ 2004-05-16 20:36 ` Kris Jurka <books@ejurka.com>
0 siblings, 0 replies; 2+ messages in thread
From: Kris Jurka @ 2004-05-16 20:36 UTC (permalink / raw)
To: postgres@nitwit.de; +Cc: pgsql-jdbc
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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2004-05-16 20:36 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-05-16 09:46 IPv6 connection / JDBC (?) postgres@nitwit.de
2004-05-16 20:36 ` Kris Jurka <books@ejurka.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox