From: | Kris Jurka <books(at)ejurka(dot)com> |
---|---|
To: | postgres(at)nitwit(dot)de |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: IPv6 connection / JDBC (?) |
Date: | 2004-05-16 20:36:40 |
Message-ID: | Pine.BSO.4.56.0405161534270.29033@leary.csoft.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
On Sun, 16 May 2004 postgres(at)nitwit(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Kris Jurka | 2004-05-16 20:46:34 | Re: Connection pooling, jdbc3 and encoding |
Previous Message | Kris Jurka | 2004-05-16 20:33:09 | Re: charset property is not working |