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

Samebug tips

,

Check if your MongoDB is available.

,
via GitHub by rawlingsj

host port isnt set

Solutions on the web

via giraph-user by Avery Ching, 1 year ago
via JIRA by Egor Kolesnikov, 1 year ago
Connection refused
via hadoop-pig-user by Stefan Groschupf, 1 year ago
via incubator-connectors-user by Karl Wright, 1 year ago
via Stack Overflow by Freedom
, 2 years ago
via Stack Overflow by IAmYourFaja
, 2 years ago
Connection refused
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:525)
at org.apache.zookeeper.server.quorum.Follower.followLeader(Follower.java:156)

Users with the same issue

8 times, 13 hours ago
14 times, 16 hours ago
552 times, 20 hours ago
11 times, 3 days ago
26943 times, 3 days ago

Write tip

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