java.net.ConnectException: Connection refused

GitHub | ilterpehlivan | 3 weeks ago
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

    cann't connect to kafka server

    Stack Overflow | 1 year ago | perdonare
    java.net.ConnectException: Connection refused: no further information
  2. 0

    o.apache.kafka.common.network.Selector : Error in I/O with localhost/127.0.0.1

    Stack Overflow | 9 months ago | Rahul Vanimisetty
    java.net.ConnectException: Connection refused
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    mysterious localhost for kafka producer

    GitHub | 9 months ago | felixgao
    java.net.ConnectException: Connection refused
  5. 0

    binder.Kafka not accepting custom ports

    GitHub | 6 months ago | bakabo
    java.net.ConnectException: Connection refused

  1. RoiOtero 96359 times, last 2 months ago
  2. Raggyman 104806 times, last 5 months ago
  3. Hronom 2 times, last 1 month ago
  4. batwalrus76 33 times, last 2 months ago
  5. chenjunjun 2 times, last 1 month ago
14 more registered users
81 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 sun.nio.ch.SocketChannelImpl.checkConnect()
  2. Java RT
    SocketChannelImpl.finishConnect
    1. sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)[na:1.8.0_101]
    2. sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)[na:1.8.0_101]
    2 frames
  3. Apache Kafka
    Sender.run
    1. org.apache.kafka.common.network.PlaintextTransportLayer.finishConnect(PlaintextTransportLayer.java:51)[kafka-clients-0.10.0.0.jar!/:na]
    2. org.apache.kafka.common.network.KafkaChannel.finishConnect(KafkaChannel.java:73)[kafka-clients-0.10.0.0.jar!/:na]
    3. org.apache.kafka.common.network.Selector.pollSelectionKeys(Selector.java:309)[kafka-clients-0.10.0.0.jar!/:na]
    4. org.apache.kafka.common.network.Selector.poll(Selector.java:283)[kafka-clients-0.10.0.0.jar!/:na]
    5. org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:260)[kafka-clients-0.10.0.0.jar!/:na]
    6. org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:229)[kafka-clients-0.10.0.0.jar!/:na]
    7. org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:134)[kafka-clients-0.10.0.0.jar!/:na]
    7 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_101]
    1 frame