java.net.ConnectException: Connection refused: connect

Stack Overflow | D. Müller | 6 months 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

    Intel Edison: Can't establish Socket Connection with my Laptop

    Stack Overflow | 6 months ago | D. Müller
    java.net.ConnectException: Connection refused: connect
  2. 0

    Debugging fitslim hangs

    GitHub | 3 years ago | starguy
    java.net.ConnectException: Connection refused: connect
  3. 0

    PermissionsEx Groups ERROR! HELP!

    GitHub | 4 years ago | cheddarjac
    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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Help!

    GitHub | 4 years ago | CraftyMcloving
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link fai lure The last packet sent successfully to the server was 0 milliseconds ago. The driv er has not received any packets from the server.
  6. 0

    Second starting on Widnows 8.1 cause Exception

    GitHub | 2 years ago | vit1251
    java.net.ConnectException: Connection refused: connect

  1. andyglick 56 times, last 2 weeks ago
  2. tomthomas 1 times, last 4 weeks ago
  3. stigkj 4 times, last 4 weeks ago
  4. michallos 1 times, last 1 month 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.DualStackPlainSocketImpl.connect0()
  2. Java RT
    Socket.<init>
    1. java.net.DualStackPlainSocketImpl.connect0(Native Method)
    2. java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    3. java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
    5. java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    6. java.net.PlainSocketImpl.connect(Unknown Source)
    7. java.net.SocksSocketImpl.connect(Unknown Source)
    8. java.net.Socket.connect(Unknown Source)
    9. java.net.Socket.connect(Unknown Source)
    10. java.net.Socket.<init>(Unknown Source)
    11. java.net.Socket.<init>(Unknown Source)
    11 frames
  3. Unknown
    test.main
    1. test.main(ClientClass.java:15)
    1 frame