pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Rob Stone <robstone@mira.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Connection Problem
Date: Wed, 08 Dec 2010 08:52:53 +1300
Message-ID: <4CFE9095.5090702@opencloud.com> (raw)
In-Reply-To: <1291728544.3489.28.camel@localhost>
References: <1291728544.3489.28.camel@localhost>

On 08/12/10 02:29, Rob Stone wrote:

> Wrote a mickey mouse java class (testdbconn) to see if I could access
> the database and read data from a table that has two rows. See attached.
> When it runs it displays the same SQL error code as ExecuteQuery --
> 08001 -- which is the "can't connect error".

You have a network configuration problem of some sort:

> Caused by: java.net.SocketException: Network is unreachable

(This isn't "connection refused", it's "I have no configured route to
that address")

Oliver



view thread (24+ messages)  latest in thread

Message-ID: <4CFE9095.5090702@opencloud.com>
Permalink:  ../4CFE9095.5090702@opencloud.com/
Also on:    postgresql.org/message-id/4CFE9095.5090702@opencloud.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: oliver@opencloud.com, robstone@mira.net
  Subject: Re: Connection Problem
  In-Reply-To: <4CFE9095.5090702@opencloud.com>
  References: <1291728544.3489.28.camel@localhost> <4CFE9095.5090702@opencloud.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