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 993883A4766 for ; Tue, 2 Nov 2004 01:13:02 +0000 (GMT) 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 35142-05 for ; Tue, 2 Nov 2004 01:12:58 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 39DE03A4749 for ; Tue, 2 Nov 2004 01:12:57 +0000 (GMT) Received: (qmail 4273 invoked by uid 1112); 2 Nov 2004 01:12:52 -0000 Date: Mon, 1 Nov 2004 20:12:52 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Ron St-Pierre Cc: pgsql-jdbc Subject: Re: JDeveloper In-Reply-To: <4186DBAD.2020501@syscor.com> Message-ID: References: <4186C6DE.4060603@syscor.com> <4186DBAD.2020501@syscor.com> 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: 200411/16 X-Sequence-Number: 11438 On Mon, 1 Nov 2004, Ron St-Pierre wrote: > *cough* *cough* of course *ahem* and now that I've supplied the correct > one it's telling me > that the connection has been refused, and to check hostname, port.etc. > This isn't a new database > or setup, I can still access it using pgAdminIII (just tried), I ssh > into the server all the time, etc. > I also tried to specify the port after the url (192.x.x.x:5432) but then > it complains that I don't > have a suitable driver. Any ideas? > Again I'm unsure of the URL you gave, but it should look like jdbc:postgresql://db.mycompany.com:port/database Are you using pgadmin from your desktop or the server? If you are using it from the same machine as jdeveloper then the connection should look the same to postgresql and should work. If you are using it from the server then you may be connecting over unix sockets instead of tcpip sockets which is a different situation. Double check the URL, the tcpip_socket flag in postgresql.conf, and your pg_hba.conf settings. Kris Jurka