java.net.ConnectException: Connection refused

top10 | jianch | 5 years 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

    [bug]hornetQ socket connect失败

    top10 | 5 years ago | jianch
    java.net.ConnectException: Connection refused
  2. 0

    Tomcat does not start on Linux Server

    Stack Overflow | 2 years ago | david.colais
    java.net.ConnectException: Connection refused
  3. 0

    Apache Tomcat Shutdown :java.net.ConnectException: Connection refused

    Stack Overflow | 4 years ago | kino lucky
    java.net.ConnectException: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

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.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    6. java.net.Socket.connect(Socket.java:529)
    7. java.net.Socket.connect(Socket.java:478)
    8. java.net.Socket.<init>(Socket.java:375)
    9. java.net.Socket.<init>(Socket.java:189)
    9 frames
  3. org.hornetq.jms
    StompExample.runExample
    1. org.hornetq.jms.example.StompExample.runExample(StompExample.java:52)
    1 frame
  4. HornetQ Examples common
    HornetQExample.run
    1. org.hornetq.common.example.HornetQExample.run(HornetQExample.java:77)
    1 frame
  5. org.hornetq.jms
    StompExample.main
    1. org.hornetq.jms.example.StompExample.main(StompExample.java:40)
    1 frame