java.net.ConnectException: Connection refused

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 ubuntuforums.org by Unknown author, 1 year ago
via nabble.com by Unknown author, 2 years ago
Connection refused >  at java.net.PlainSocketImpl.socketConnect(Native Method)
via GitHub by Yashu5
, 2 years ago
Connection refused
via Stack Overflow by user3523503
, 2 years ago
Connection refused</p> <pre><code> at java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.ConnectException: Connection refused
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
at java.net.Socket.connect(Socket.java:546)
at java.net.Socket.connect(Socket.java:495)
at java.net.Socket.(Socket.java:392)
at java.net.Socket.(Socket.java:206)
at client.Requester.(Requester.java:12)
at client.Requester.main(Requester.java:80)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 3 months ago
582 times, 4 months ago
Once, 5 months ago
6 times, 9 months ago
706 more bugmates

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