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 openbravopos by eclisource
, 1 year ago
java.net.ConnectException: Connection refused: connect
via openbravopos by nobody
, 1 year ago
java.net.ConnectException: Connection timed out
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
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:276)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2666)
at com.mysql.jdbc.Connection.(Connection.java:1531)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
at net.adrianromero.tpv.forms.DriverWrapper.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at net.adrianromero.data.loader.Session.connect(Unknown Source)
at net.adrianromero.data.loader.Session.(Unknown Source)
at net.adrianromero.tpv.forms.AppViewConnection.(Unknown Source)
at net.adrianromero.tpv.forms.JFrmTPV.startTPV(Unknown Source)
at net.adrianromero.tpv.forms.JFrmTPV.access$100(Unknown Source)
at net.adrianromero.tpv.forms.JFrmTPV$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

Users with the same issue

6 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 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.