Received: from mail.weihenstephan.org (ns.weihenstephan.org [194.95.200.136]) by hub.org (8.9.3/8.9.3) with ESMTP id PAA92220 for ; Thu, 19 Aug 1999 15:07:59 -0400 (EDT) (envelope-from Harald.Kirschner@weihenstephan.org) Received: from freising (ppp59.weihenstephan.org [194.95.200.221]) by mail.weihenstephan.org (8.9.3/8.9.3) with SMTP id VAA32318 for ; Thu, 19 Aug 1999 21:07:53 +0200 Message-ID: <000101beea76$22bffac0$ddc85fc2@freising.weihenstephan.org> Reply-To: "Harald Kirschner" From: "Harald Kirschner" To: Subject: Connection with JDBC Date: Thu, 19 Aug 1999 21:07:51 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Folks, I run a java 1.1.7 program trying to connect to a postgres 6.5.1 database and use postgresql.jar (driver). I always get the exception "Connection refused", but I can connect to the database by using 'psql database'. I run the app on localhost. The user I am working is the same user that I use in the java program with the getConnection statement. Any idea why it does not work? How do I setup a new user with a password that is allowed to connect to my database? This java program worked with version 6.2 but after I upgraded to 6.5.1 it does not connect anymore.... Harald