Re: Problem to connect from host via JDBC ...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: tsmets(at)brutele(dot)be
Cc: "pgsql jdbc" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Problem to connect from host via JDBC ...
Date: 2002-03-05 16:00:28
Message-ID: 15783.1015344028@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

<tsmets(at)brutele(dot)be> writes:
> Trying to connect from another machine via JDBC gives the following error :
> "1109 [main] WARN org.test.JDBCPostgres.TestJDBCPostgres - Message :
> Connection refused.

"Connection refused" suggests that the server machine's kernel is
rejecting the connection before it ever gets to the postmaster. Check
to make sure you have the right hostname and port number specified.
Another possibility is a packet-filtering issue (though those usually
result in no response, rather than a connection-refused response).

regards, tom lane

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Elmo 2002-03-05 16:03:34 PostgreSQL+PHP+JDBC+Java Smart Card
Previous Message Elmo 2002-03-05 15:40:43 PostgreSQL+PHP+JDBC+Java Smart Card