Re: connectivity problem - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: connectivity problem
Date
Msg-id Pine.LNX.4.33.0401300329370.14397-100000@leary.csoft.net
Whole thread Raw
In response to connectivity problem  (adp adp <adp_group2004@yahoo.co.in>)
List pgsql-jdbc

On Fri, 30 Jan 2004, [iso-8859-1] adp adp wrote:

>       String
> url="jdbc:postgresql//10.1.30.10:85/test";

You are mising a colon after postgresql.  I also would be very surprised
if 85 was the correct port to connect to.  Based on your previous attempt
to connct to localhost I would recommend using

jdbc:postgresql://127.0.0.1/test

Kris Jurka


pgsql-jdbc by date:

Previous
From: adp adp
Date:
Subject: connectivity problem
Next
From: Paul Thomas
Date:
Subject: Re: [SQL] java.lang.StringIndexOutOfBoundsException: String index out of range: 23 at java.lang.String.charAt(String.java:460)