You have to configure the postmaster with the -i flag, which enables TCP/IP connections. It's not a problem of jdbc.
On Thu, 21 Feb 2002 02:46:30 -0800
Vernon Wu <vernonw@gatewaytech.com> wrote:
> 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@postgresql.org so that your
> message can get through to the mailing list cleanly
>