Ian Pilcher <i(dot)pilcher(at)comcast(dot)net> writes:
> I am trying to set up IDENT authentication for Tomcat 5 on my Fedora
> Core 2 system. I've added the appropriate line to pg_hba.conf:
> host tomcat4 tomcat4 127.0.0.1 255.255.255.255 ident sameuser
Is it possible that jdbc tries to use an IPv6 rather than IPv4
connection in your setup?
It might be worth looking in the postmaster's stderr log to see if any
more information about the connection failure is there. We often log
information that we don't report to the client for security reasons.
regards, tom lane