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
Samebug tips
- Expert tip
Firewall might be blocking your connection, or MySQL it's not running on your server machine.
- Expert tip
Check if you have started your server, or if your server is set to listen to the port you're trying to connect and is waiting to accept connections and check if the firewall isn't blocking your connection.
Solutions on the web
via openhab.org by Unknown author, 1 year ago
via Stack Overflow by user3254705
, 11 months agovia Stack Overflow by AliceIs Dead
, 2 years agovia Stack Overflow by Question Asker
, 1 year agovia GitHub by starguy
, 2 years agovia Stack Overflow by Unknown author, 2 years ago
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.
(Unknown Source) at java.net.Socket.
(Unknown Source) at com.digitaldan.jomnilinkII.Connection.
(Unknown Source) at org.openhab.binding.omnilink.internal.OmniLinkBinding$OmniConnectionThread.run(OmniLinkBinding.java:358)