java.net.ConnectException: Connection refused

Oracle Community | 807554 | 2 decades ago
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

    NoClassDefFoundError

    Oracle Community | 2 decades ago | 807554
    java.net.ConnectException: Connection refused
  2. 0

    mySQL JDBC problem

    Google Groups | 2 decades ago | Jed McCaleb
    java.net.ConnectException: Connection refused
  3. 0

    MySQL and JDBC Problem

    Google Groups | 2 decades ago | Bryce Alcock
    java.net.ConnectException: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Connection Refused

    Coderanch | 1 decade ago | Favian Ee
    java.net.ConnectException: Connection refused
  6. 0

    JDBC exception problem

    Google Groups | 2 decades ago | Andreas Nordseth
    java.net.ConnectException: Connection refused: connect

  1. QrCeric 17 times, last 4 days ago
  2. andyglick 56 times, last 2 months ago
  3. tomthomas 1 times, last 2 months ago
  4. stigkj 4 times, last 2 months ago
  5. michallos 1 times, last 2 months ago
27 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

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
    5. java.net.Socket.connect(Socket.java:425)
    6. java.net.Socket.connect(Socket.java:375)
    7. java.net.Socket.<init>(Socket.java:290)
    8. java.net.Socket.<init>(Socket.java:118)
    8 frames
  3. MySQL jdbc
    Driver.connect
    1. org.gjt.mm.mysql.MysqlIO.<init>(MysqlIO.java:114)
    2. org.gjt.mm.mysql.Connection.<init>(Connection.java:229)
    3. org.gjt.mm.mysql.Driver.connect(Driver.java:126)
    3 frames
  4. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(DriverManager.java:512)
    2. java.sql.DriverManager.getConnection(DriverManager.java:171)
    2 frames
  5. Unknown
    test.main
    1. test.main(test.java:26)
    1 frame