java.net.ConnectException: Connection refused

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    zookeeper not able to connect to two server

    Stack Overflow | 10 months ago | Nilotpal
    java.net.ConnectException: Connection refused
  2. 0

    Zookeeper cluster set up

    Stack Overflow | 2 years ago | Neeraj Kumar
    java.net.ConnectException: Connection refused
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Zookeeper ensemble not coming up

    Stack Overflow | 2 years ago | java_enthu
    java.net.ConnectException: Connection refused
  5. 0

    Anyone able to configure a MULTI VM cluster on a single laptop?

    Stack Overflow | 3 years ago | Knows Not Much
    java.net.ConnectException: Connection refused

  1. osvzs 1 times, last 3 days ago
  2. Pilleo 1 times, last 4 days ago
  3. batwalrus76 2 times, last 6 days ago
  4. Dunmer 1 times, last 7 days ago
  5. johnxfly 5 times, last 2 weeks ago
59 more registered users
36 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection refused

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:579)
    6 frames
  3. Zookeeper
    FastLeaderElection$Messenger$WorkerSender.run
    1. org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(QuorumCnxManager.java:368)
    2. org.apache.zookeeper.server.quorum.QuorumCnxManager.toSend(QuorumCnxManager.java:341)
    3. org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.process(FastLeaderElection.java:449)
    4. org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.run(FastLeaderElection.java:430)
    4 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame