Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 007151337B47 for ; Tue, 7 Dec 2010 15:53:12 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 21692-10 for ; Tue, 7 Dec 2010 19:53:05 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by mail.postgresql.org (Postfix) with ESMTP id 8AE001336B42 for ; Tue, 7 Dec 2010 15:53:04 -0400 (AST) Received: from 121-98-80-66.bitstream.orcon.net.nz ([121.98.80.66] helo=[192.168.1.2]) by tremor.opencloud.co.nz with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PQ3at-0005Jy-Sm; Wed, 08 Dec 2010 08:52:59 +1300 Message-ID: <4CFE9095.5090702@opencloud.com> Date: Wed, 08 Dec 2010 08:52:53 +1300 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Rob Stone CC: pgsql-jdbc@postgresql.org Subject: Re: Connection Problem References: <1291728544.3489.28.camel@localhost> In-Reply-To: <1291728544.3489.28.camel@localhost> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201012/38 X-Sequence-Number: 21276 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