Re: [INTERFACES] JDBC Connection refused

From: "S(dot)Ramaswamy" <srswamy(at)giasdl01(dot)vsnl(dot)net(dot)in>
To: "pgsql-interfaces(at)postgreSQL(dot)org" <pgsql-interfaces(at)postgreSQL(dot)org>
Cc: Richard Heller <rheller(at)prime(dot)cs(dot)ohiou(dot)edu>
Subject: Re: [INTERFACES] JDBC Connection refused
Date: 1998-09-28 14:12:34
Message-ID: 360F9951.A810DA92@giasdl01.vsnl.net.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter T Mount 1998-09-28 18:21:34 Re: [INTERFACES] JDBC Connection refused
Previous Message Herouth Maoz 1998-09-28 08:57:11 Re: [INTERFACES] Creating a database with JDBC