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 Stack Overflow by hywy
, 1 year ago
via Stack Overflow by Marc Polizzi
, 1 year ago
The connection attempt failed.
via GitHub by edrdo
, 7 months ago
Connection to localhost:1047 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
via Stack Overflow by nootaku
, 1 month ago
java.io.IOException: Illegal UTF-8 sequence: initial byte is 11111xxx: 252	at org.postgresql.core.UTF8Encoding.decode(UTF8Encoding.java:131)	at org.postgresql.core.PGStream.ReceiveString(PGStream.java:331)	at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:447)	at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:223)	at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:67)	at org.postgresql.jdbc.PgConnection.(PgConnection.java:212)	at org.postgresql.Driver.makeConnection(Driver.java:407)	at org.postgresql.Driver.connect(Driver.java:275)	at java.sql.DriverManager.getConnection(Unknown Source)	at java.sql.DriverManager.getConnection(Unknown Source)	at com.hywy.TestConnection.main(TestConnection.java:23)