java.net.ConnectException: Connection refused

Oracle Community | 807581 | 9 years 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

    Unable to Start server instances created

    Oracle Community | 9 years ago | 807581
    java.net.ConnectException: Connection refused
  2. 0

    Sql connection error

    GitHub | 4 years ago | soulgriever
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    WSO2 Products with MySQL Error

    Stack Overflow | 3 years ago | Rafa Hernández
    org.wso2.carbon.user.core.UserStoreException: Database Error - Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  5. 0

    GitHub comment 22#60719720

    GitHub | 3 years ago | xingfengshen
    java.net.ConnectException: Connection refused

  1. osvzs 2 times, last 1 week ago
  2. Casper 1 times, last 2 weeks ago
  3. QrCeric 1 times, last 3 weeks ago
  4. poroszd 1 times, last 1 month ago
  5. rp 1 times, last 1 month ago
29 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:305)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    5. java.net.Socket.connect(Socket.java:461)
    6. java.net.Socket.connect(Socket.java:411)
    7. java.net.Socket.<init>(Socket.java:310)
    8. java.net.Socket.<init>(Socket.java:125)
    8 frames