java.net.ConnectException: Connection refused

Stack Overflow | Aditya Singh | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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 | 2 years ago | Axl
    java.net.ConnectException: Connection timed out: connect Connecting to 79.118.7.139 on port3333

  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

    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