Re: IPv6 connection / JDBC (?) - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: IPv6 connection / JDBC (?)
Date
Msg-id Pine.BSO.4.56.0405161534270.29033@leary.csoft.net
Whole thread Raw
In response to IPv6 connection / JDBC (?)  (postgres@nitwit.de)
List 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

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: charset property is not working
Next
From: Kris Jurka
Date:
Subject: Re: Connection pooling, jdbc3 and encoding