java.net.ConnectException: Connection refused: connect

Oracle Community | 843797 | 1 decade 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

    Pinging a server in Java

    Oracle Community | 1 decade ago | 843797
    java.net.ConnectException: Connection refused: connect
  2. 0

    Cannot connect to mysql server

    Oracle Community | 2 decades ago | 843854
    java.net.ConnectException: Connection refused: connect
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Weblogic 6.1 example/security/sslclient jsseWLS.bat does not work

    Oracle Community | 2 decades ago | 3004
    java.net.ConnectException: Connection refused: connect
  5. 0

    faq [Dinamica EGO]

    ufmg.br | 2 years ago
    java.lang.IllegalStateException: Failed to connect to spawned VM!

  1. andyglick 56 times, last 3 weeks ago
  2. tomthomas 1 times, last 1 month ago
  3. stigkj 4 times, last 1 month ago
  4. michallos 1 times, last 2 months ago
  5. mauritius 3 times, last 2 months ago
26 more registered users
65 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: connect

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
    5. java.net.Socket.<init>(Socket.java:273)
    6. java.net.Socket.<init>(Socket.java:100)
    6 frames
  3. Unknown
    GetTime.main
    1. GetTime.main(GetTime.java:11)
    1 frame