X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 60EB9D1B3B2 for ; Mon, 26 Jul 2004 12:18:10 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 41843-09 for ; Mon, 26 Jul 2004 15:18:01 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 40A8FD1B537 for ; Mon, 26 Jul 2004 12:18:01 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i6QFHxsB027764; Mon, 26 Jul 2004 11:17:59 -0400 (EDT) To: Ian Pilcher Cc: pgsql-jdbc@postgresql.org Subject: Re: Problem w/ IDENT authentication In-reply-to: References: Comments: In-reply-to Ian Pilcher message dated "Mon, 26 Jul 2004 03:53:38 -0500" Date: Mon, 26 Jul 2004 11:17:59 -0400 Message-ID: <27763.1090855079@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/283 X-Sequence-Number: 10667 Ian Pilcher 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