java.net.ConnectException: Connection refused

tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    How to implement MQTT server using Spring Integration?

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

    Problems with the Network plug-in

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

    GitHub comment 10#230298028

    GitHub | 8 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 | 2 months ago | Abhinav Tyagi
    java.net.ConnectException: Connection refused

  1. iferca 1 times, last 2 weeks ago
  2. Nikolay Rybak 1010 times, last 2 weeks ago
  3. mauritius 7 times, last 2 weeks ago
  4. andyglick 1 times, last 2 weeks ago
  5. stigkj 15 times, last 3 weeks ago
50 more registered users
45 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