Re: "Connection refused"

From: "Nick Fankhauser" <nickf(at)ontko(dot)com>
To: <vernonw(at)gatewaytech(dot)com>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: "Connection refused"
Date: 2002-02-22 10:05:22
Message-ID: NEBBLAAHGLEEPCGOBHDGGEJPEGAA.nickf@ontko.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Vernon-

Take a second look at the two tasks in this section of the FAQ:
http://www.fankhausers.com/postgresql/jdbc/#tcpip

The "connection refused" message usually means one of them hasn't been done.
Note that they are required even if you are connecting to the machine you
are on.

-Nick

> -----Original Message-----
> From: pgsql-jdbc-owner(at)postgresql(dot)org
> [mailto:pgsql-jdbc-owner(at)postgresql(dot)org]On Behalf Of Vernon Wu
> Sent: Thursday, February 21, 2002 5:46 AM
> To: pgsql-jdbc(at)postgresql(dot)org
> Subject: [JDBC] "Connection refused"
>
>
> Hi,
>
> I am very new to PostgreSQL's jdbc. After following the
> installation and configure instructure of
> http://www.fankhausers.com/postgresql/jdbc/, I get an error
> message "***Exception: Connection refuled. Check that
> the hotname and port is correct, and that the postmaster is
> running with the -i flag, which enables TCP/IP networking"
> when I run the test program. What I am missed here?
>
> Thanks in advance.
>
> v.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Nick Fankhauser 2002-02-22 12:51:21 Re: strange error
Previous Message Chantal Ackermann 2002-02-22 09:35:00 Re: build.xml now builds under jdk1.4, checked into cvs