java.net.SocketException: java.net.ConnectException: Connection refused: connect

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 pentaho.com by Unknown author, 1 year ago
java.net.ConnectException: Connection refused: connect
via Oracle Community by 807598, 1 year ago
java.net.ConnectException: Connection refused: connect
via sourceforge.net by Unknown author, 1 year ago
java.net.ConnectException: Connection refused: connect
via mysql.com by Unknown author, 1 year ago
java.net.ConnectException: Connection refused
via Oracle Community by 843859, 1 year ago
via mysql.com by Unknown author, 1 year ago
java.net.BindException: Address already in use: connect
java.net.SocketException: java.net.ConnectException: Connection refused: connect
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2569)
at com.mysql.jdbc.Connection.(Connection.java:1485)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
at java.sql.DriverManager.getConnection(Unknown Source)
at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:413)
at org.pentaho.di.core.database.Database.normalConnect(Database.java:299)
at org.pentaho.di.core.database.Database.connect(Database.java:264)
at org.pentaho.di.core.database.Database.connect(Database.java:226)
at org.pentaho.di.core.database.Database.connect(Database.java:216)
at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestReport(DatabaseFactory.java:54)
at org.pentaho.di.core.database.DatabaseMeta.testConnection(DatabaseMeta.java:2478)
at org.pentaho.di.ui.core.database.dialog.DatabaseDialog.test(DatabaseDialog.java:1919)
at org.pentaho.di.ui.core.database.wizard.CreateDatabaseWizardPage2.test(CreateDatabaseWizardPage2.java:154)
at org.pentaho.di.ui.core.database.wizard.CreateDatabaseWizardPage2$3.widgetSelected(CreateDatabaseWizardPage2.java:143)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.