Received: from diandel.com (root@diandel.com [194.179.44.4]) by hub.org (8.8.8/8.7.5) with ESMTP id IAA11344 for ; Mon, 24 Aug 1998 08:17:01 -0400 (EDT) Received: from a (iv23.diandel.com [195.76.115.153]) by diandel.com (8.7.6/8.7.3) with ESMTP id NAA02535 for ; Mon, 24 Aug 1998 13:38:25 +0200 Message-Id: <199808241138.NAA02535@diandel.com> From: "Dr. Herrera" To: Subject: JDBC Connection Date: Mon, 24 Aug 1998 14:14:04 +0200 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1157 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello I am trying to connect to PostgreSQL from Java (JDK 1.1.6) under RedHat Linux 5.1 using the JDBC interface. I have compiled the driver and tried to run the examples this way: java -Djdbc.drivers=postgresql.Driver example.basic jdbc:postgresql:prueba postgres postgres where 'prueba' is the name of an existing database. But I always get a 'Connection refused' error in DriverManager.getConnection("jdbc:postgresql:prueba") I have modified pg_hba.conf to allow any user on any host access to any database but the error still remains. Can anybody tell me what can be the problem and any possible solution? Thank you very much