java.net.ConnectException: Connection refused * at java.net.PlainSocketImpl.socketConnect(Native Method)

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

,

Check if your MongoDB is available.

,
via GitHub by rawlingsj

host port isnt set

Solutions on the web

via hadoop-zookeeper-user by Austin Shoemaker, 1 year ago
Connection refused * at java.net.PlainSocketImpl.socketConnect(Native Method)
via hadoop-zookeeper-user by Flavio Junqueira , 1 year ago
Connection refused * at java.net.PlainSocketImpl.socketConnect(Native Method)
via hadoop-zookeeper-user by Austin Shoemaker, 1 year ago
Connection refused * at java.net.PlainSocketImpl.socketConnect(Native Method)
via daisy.org by Unknown author, 2 years ago
Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method)
via hadoop-zookeeper-user by Mahadev Konar, 1 year ago
Connection refused * at java.net.PlainSocketImpl.socketConnect(Native Method)
via hadoop-zookeeper-user by Austin Shoemaker, 1 year ago
Connection refused * at java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.ConnectException: Connection refused * at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
23 times, 1 week ago
Once, 2 weeks ago
3 times, 3 weeks ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
493 more bugmates

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