Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Database Administrators by Luan Huynh
, 1 year ago
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
via Google Groups by Xavi, 2 years ago
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
via Stack Overflow by user2372976
, 1 year ago
The connection attempt failed.
via cloudera.com by Unknown author, 1 year ago
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
via cloudera.com by Unknown author, 2 years ago
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
via GitHub by okkez
, 1 year ago
The connection attempt failed.
org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.	at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:207)	at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64)	at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136)	at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29)	at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21)	at org.postgresql.jdbc3g.Jdbc3gConnection.(Jdbc3gConnection.java:24)