java.net.ConnectException: Connection refused

GitHub | ilterpehlivan | 3 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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 | 11 months ago | Rahul Vanimisetty
    java.net.ConnectException: Connection refused
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    java.net.ConnectException: Connection refused

    GitHub | 1 month ago | 123avi
    java.net.ConnectException: Connection refused
  5. 0

    mysterious localhost for kafka producer

    GitHub | 11 months ago | felixgao
    java.net.ConnectException: Connection refused

  1. RoiOtero 96359 times, last 4 months ago
  2. Raggyman 104806 times, last 7 months ago
  3. poroszd 2 times, last 3 weeks ago
  4. jf-ast 7 times, last 4 weeks ago
  5. arturgajowy 329 times, last 1 month ago
17 more registered users
78 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