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 Oracle Community by 807554, 1 year ago
Connection failed: java.net.ConnectException: Connection refused
java.sql.SQLException: Connection failed: java.net.ConnectException: Connection refused	at postgresql.Connection.(Connection.java:190)	at postgresql.Driver.connect(Driver.java:87)	at java.sql.DriverManager.getConnection(DriverManager.java:91)	at java.sql.DriverManager.getConnection(DriverManager.java:134)	at example.basic.(basic.java:32)	at example.basic.main(basic.java:166)