pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: S.Ramaswamy <srswamy@giasdl01.vsnl.net.in>
To: pgsql-interfaces@postgreSQL.org <pgsql-interfaces@postgreSQL.org>
Cc: Richard Heller <rheller@prime.cs.ohiou.edu>
Subject: Re: [INTERFACES] JDBC Connection refused
Date: Mon, 28 Sep 1998 19:42:34 +0530
Message-ID: <360F9951.A810DA92@giasdl01.vsnl.net.in> (raw)
References: <Pine.GSO.3.96.980927171351.26719D-100000@prime.cs.ohiou.edu>

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







view thread (12+ messages)  latest in thread

Message-ID: <360F9951.A810DA92@giasdl01.vsnl.net.in>
Permalink:  ../360F9951.A810DA92@giasdl01.vsnl.net.in/
Also on:    postgresql.org/message-id/360F9951.A810DA92@giasdl01.vsnl.net.in

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: srswamy@giasdl01.vsnl.net.in, rheller@prime.cs.ohiou.edu
  Subject: Re: [INTERFACES] JDBC Connection refused
  In-Reply-To: <360F9951.A810DA92@giasdl01.vsnl.net.in>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox