Skip site navigation (1) Skip section navigation (2)

Re: Connection Problem

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Rob Stone <robstone(at)mira(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Connection Problem
Date: 2010-12-07 19:52:53
Message-ID: 4CFE9095.5090702@opencloud.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
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

In response to

Responses

pgsql-jdbc by date

Next:From: Dave CramerDate: 2010-12-07 20:25:33
Subject: Re: RETURNING id problem with insert.
Previous:From: -Date: 2010-12-07 18:49:12
Subject: RETURNING id problem with insert.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group