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 Stack Overflow by crm86
, 1 year ago
via Stack Overflow by Axl
, 2 years ago
Connection timed out: connect Connecting to 79.118.7.139 on port3333
via Oracle Community by 898586, 1 year ago
Connection refused: connect
via Stack Overflow by Baimai Wu
, 2 years ago
Connection refused: connect
java.net.ConnectException: Connection refused: connect
at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at java.net.Socket.(Socket.java:434)
at java.net.Socket.(Socket.java:211)

Users with the same issue

15 times, 2 months ago
2 times, 3 months ago
79 times, 3 months ago
6 times, 5 months ago
Once, 9 months ago
719 more bugmates

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