Re: [INTERFACES] JDBC Connection refused - Mailing list pgsql-interfaces

From S.Ramaswamy
Subject Re: [INTERFACES] JDBC Connection refused
Date
Msg-id 360F9951.A810DA92@giasdl01.vsnl.net.in
Whole thread Raw
In response to JDBC Connection refused  (Richard Heller <rheller@prime.cs.ohiou.edu>)
List pgsql-interfaces
Ensure that you start postmaster with -i option to enable TCP/IP. Refer
to FAQ of http://www.retep.org.uk/postgres/ for details

Regards

S.Ramaswamy

Richard Heller wrote:

> Hi,
>
> I created a database using createdb and it got created correctly.
> However, I'm having trouble connecting to it with JDBC.  I named the
> database "mydb" and the url I'm using in JDBC to connect is
> "jdbc:postgresql:mydb".  I'm getting
>
> java.sql.SQLException: Connection failed: java.net.ConnectException:
> Connection refused
>
> at runtime.  What causes this and how do I fix it?
>
> Thanks,
> Rich





pgsql-interfaces by date:

Previous
From: "Cary B. O'Brien"
Date:
Subject: Re: [INTERFACES] Creating a database with JDBC
Next
From: niessene@natlab.research.philips.com
Date:
Subject: Problem deleting a record in the tableviewer