java.net.ConnectException: Connection refused

  1. 0

    Connecting Python and Java via sockets

    Stack Overflow | 2 years ago | Aditya Singh
    java.net.ConnectException: Connection refused
  2. 0

    ConnectException thrown when sockets are created at the same time

    Oracle Community | 1 decade ago | 807596
    java.net.ConnectException: Connection refused
  3. 0

    Java Socket Timesout when I try connecting to server with external IP

    Stack Overflow | 2 years ago
    java.net.ConnectException: Connection timed out: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Getting connection errors while making a server/client chat program in java

    Stack Overflow | 2 years ago
    java.net.ConnectException: Connection refused: connect
  6. 0

    JAVA Socket Connection Time out

    Stack Overflow | 1 year ago | Axl
    java.net.ConnectException: Connection timed out: connect Connecting to 79.118.7.139 on port3333

  1. linxiaolong 18 times, last 3 weeks ago
  2. Kialandei 1 times, last 1 month ago
  3. DoktorDoener666 41 times, last 2 weeks ago
  4. kjhdofjosvs 2 times, last 1 month ago
  5. Gatgeagent 1 times, last 2 months ago
22 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.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:589)
    7. java.net.Socket.connect(Socket.java:538)
    8. java.net.Socket.<init>(Socket.java:434)
    9. java.net.Socket.<init>(Socket.java:211)
    9 frames
  3. Unknown
    Client.main
    1. Client.connect(Client.java:84)
    2. Client.<init>(Client.java:65)
    3. Client.main(Client.java:301)
    3 frames