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 Hibernate JIRA by Bruce Scott, 1 year ago
Unable to connect to any hosts due to exception: java.net.ConnectException: Connection refused: connect
via Hibernate JIRA by Bruce Scott, 1 year ago
Unable to connect to any hosts due to exception: java.net.ConnectException: Connection refused: connect
via Oracle Community by 807595, 1 year ago
Unable to connect to any hosts due to exception: java.net.ConnectException: Connection refused: connect
via Oracle Community by 843854, 1 year ago
Unable to connect to any hosts due to exception: java.net.ConnectException: Connection refused
via xplanner by jpmigue
, 1 year ago
Server connection failure during transaction. Due to underlying exception: 'java.net.ConnectException: Connection refused'.      \[java\] Attempted reconnect 3 times. Giving up.
via Oracle Community by 361171, 11 months ago
Unable to connect to any hosts due to exception: java.lang.NullPointerException
java.sql.SQLException: Unable to connect to any hosts due to exception: java.net.ConnectException: Connection refused: connect	at com.mysql.jdbc.Connection.createNewIO(Connection.java:1690)	at com.mysql.jdbc.Connection.(Connection.java:427)	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:395)	at java.sql.DriverManager.getConnection(DriverManager.java:512)	at java.sql.DriverManager.getConnection(DriverManager.java:140)	at net.sf.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:95)	at net.sf.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:119)	at net.sf.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:84)	at com.digitalwake.datamanager.test.createSchemaTest(test.java:48)	at com.digitalwake.datamanager.test.main(test.java:37)