Re: Problem to connect from host via JDBC ... - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: Problem to connect from host via JDBC ...
Date
Msg-id 15783.1015344028@sss.pgh.pa.us
Whole thread Raw
In response to Problem to connect from host via JDBC ...  (<tsmets@brutele.be>)
List pgsql-jdbc
<tsmets@brutele.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

pgsql-jdbc by date:

Previous
From: "Elmo"
Date:
Subject: PostgreSQL+PHP+JDBC+Java Smart Card
Next
From:
Date:
Subject: Re: Problem to connect from host via JDBC ...