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 7F46C32A263 for ; Tue, 5 Oct 2004 00:01:09 +0100 (BST) 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 89715-10 for ; Mon, 4 Oct 2004 23:01:03 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 04FCB32A25C for ; Tue, 5 Oct 2004 00:01:04 +0100 (BST) Received: (qmail 1809 invoked by uid 1112); 4 Oct 2004 23:01:04 -0000 Date: Mon, 4 Oct 2004 18:01:04 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: tgutierrez@unipamplona.edu.co Cc: "pgsql-jdbc@postgresql.org" Subject: Re: error - driver -- postgresql 7.4.2 --Suse 9.0 In-Reply-To: <56307.64.76.58.174.1096930111.squirrel@correo.unipamplona.edu.co> Message-ID: References: <56307.64.76.58.174.1096930111.squirrel@correo.unipamplona.edu.co> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: 200410/4 X-Sequence-Number: 11109 On Mon, 4 Oct 2004 tgutierrez@unipamplona.edu.co wrote: > greetings > > I have the following error when connecting from tomcat, appears to me: The error message is pretty clear: > Connection refused. Check that the hostname and port is correct, and that > the postmaster is running with the -i flag, which enables TCP/IP > networking. This message is perhaps outdated as the more recommended method of enabling tcp/ip connections is by enabling tcpip_socket in postgresql.conf. > driver that we used is: jdbc7.1-1.2.jar This is unrelated to your immediate problem, but if you are using a 7.4 server you should also be using a 7.4 jdbc driver. Kris Jurka