pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron St-Pierre <rstpierre@syscor.com>
To: Kris Jurka <books@ejurka.com>
To: pgsql-jdbc <pgsql-jdbc@postgresql.org>
Subject: Re: JDeveloper
Date: Tue, 02 Nov 2004 08:50:36 -0800
Message-ID: <4187BADC.2050702@syscor.com> (raw)
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>

Kris Jurka wrote:

>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
>
Yes, that worked!

>
>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.  
>
To connect from pgAdmin I simply use the ip address 192.x.x.x and the 
port, without specifying the
jdbc:postgresql:: prefix or the database name.

>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
>
Many thanks Kris, you've saved me from more frustration!

Ron






view thread (5+ messages)

Message-ID: <4187BADC.2050702@syscor.com>
Permalink:  ../4187BADC.2050702@syscor.com/
Also on:    postgresql.org/message-id/4187BADC.2050702@syscor.com

 · 

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: rstpierre@syscor.com, books@ejurka.com
  Subject: Re: JDeveloper
  In-Reply-To: <4187BADC.2050702@syscor.com>
  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> <4187BADC.2050702@syscor.com>

* 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