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 Oracle Community by gmilitel - oracle, 1 year ago
Connection refused
via incubator-connectors-user by Erlend Garåsen, 4 months ago
via incubator-connectors-user by Karl Wright, 4 months ago
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.(Socket.java:375)
at java.net.Socket.(Socket.java:189)
at undefined.SimpleChatClientA.setUpNetworking(SimpleChatClientA.java:33)
at undefined.SimpleChatClientA.go(SimpleChatClientA.java:24)
at undefined.SimpleChatClientA.main(SimpleChatClientA.java:57)

Users with the same issue

Samebug visitor profile picture
Unknown user
2 times, 3 months ago
582 times, 4 months ago
Once, 5 months ago
21 times, 1 year ago
28 times, 1 year ago
949 more bugmates

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