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

    How to implement MQTT server using Spring Integration?

    Stack Overflow | 7 months ago | Alexander Farber
    java.net.ConnectException: Connection refused
  2. 0

    Problems with the Network plug-in

    GitHub | 6 months ago | ptaillandier
    java.net.ConnectException: Connection refused
  3. 0

    GitHub comment 10#230298028

    GitHub | 10 months ago | srijiths
    java.net.ConnectException: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    MqttException (0) - java.net.NoRouteToHostException on AndroidThings

    Stack Overflow | 4 months ago | Abhinav Tyagi
    java.net.ConnectException: Connection refused

  1. osvzs 4 times, last 17 hours ago
  2. poroszd 2 times, last 4 days ago
  3. raytest 3 times, last 2 weeks ago
  4. Dunmer 264 times, last 3 weeks ago
  5. jf-ast 2 times, last 3 weeks ago
62 more registered users
33 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:345)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:589)
    6 frames
  3. org.eclipse.paho
    ClientComms$ConnectBG.run
    1. org.eclipse.paho.client.mqttv3.internal.TCPNetworkModule.start(TCPNetworkModule.java:70)
    2. org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:590)
    2 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame