<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