pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Ron St-Pierre <rstpierre@syscor.com>
Cc: pgsql-jdbc <pgsql-jdbc@postgresql.org>
Subject: Re: JDeveloper
Date: Mon, 1 Nov 2004 20:12:52 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0411012007430.6771@leary.csoft.net> (raw)
In-Reply-To: <4186DBAD.2020501@syscor.com>
References: <4186C6DE.4060603@syscor.com>
	<Pine.BSO.4.56.0411011832420.21952@leary.csoft.net>
	<4186DBAD.2020501@syscor.com>



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



view thread (5+ messages)  latest in thread

Message-ID: <Pine.BSO.4.56.0411012007430.6771@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0411012007430.6771@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0411012007430.6771@leary.csoft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: books@ejurka.com, rstpierre@syscor.com
  Subject: Re: JDeveloper
  In-Reply-To: <Pine.BSO.4.56.0411012007430.6771@leary.csoft.net>
  References: <4186C6DE.4060603@syscor.com> <Pine.BSO.4.56.0411011832420.21952@leary.csoft.net> <4186DBAD.2020501@syscor.com> <Pine.BSO.4.56.0411012007430.6771@leary.csoft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox