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 opengts by mark_spatial
, 1 year ago
java.net.ConnectException: Connection refused
via Oracle Community by 843859, 11 months ago
java.net.ConnectException: Connection timed out: connect
via Coderanch by Dan Dales, 11 months ago
java.security.AccessControlException: access denied (j ava.net.SocketPermission 127.0.0.1:3306 connect,resolve)
via Oracle Community by 843859, 11 months ago
java.net.ConnectException: Connection refused: connect
via Google Groups by Faqih Zulfikar, 5 months ago
java.net.ConnectException: Connection timed out: 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)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.pentaho.di.ui.core.database.wizard.CreateDatabaseWizard.createAndRunDatabaseWizard(CreateDatabaseWizard.java:119)
at org.pentaho.di.ui.spoon.Spoon.createDatabaseWizard(Spoon.java:5219)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.pentaho.xul.EventHandler.handleMenuEvent(EventHandler.java:42)
at org.pentaho.xul.swt.menu.PopupMenu.handleMenuEvent(PopupMenu.java:40)
at org.pentaho.xul.swt.menu.MenuChoice.handleMenuEvent(MenuChoice.java:77)
at org.pentaho.xul.swt.menu.MenuChoice.handleEvent(MenuChoice.java:73)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:866)
at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5638)
at org.pentaho.di.ui.spoon.Spoon.run(Spoon.java:5739)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:371)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:116)

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.