java.net.ConnectException

Connection refused: no further information

Samebug tips4

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4965

  • via Unknown by 843798,
  • via Unknown by krishnamurthy bomma,
  • Stack trace

    • java.net.ConnectException: Connection refused: no further information at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:329) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:141) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:128) at java.net.Socket.<init>(Socket.java:285) at java.net.Socket.<init>(Socket.java:112) at sun.net.NetworkClient.doConnect(NetworkClient.java:56) at sun.net.www.http.HttpClient.openServer(HttpClient.java:347) at sun.net.www.http.HttpClient.openServer(HttpClient.java:534) at sun.net.www.http.HttpClient.<init>(HttpClient.java:282) at sun.net.www.http.HttpClient.<init>(HttpClient.java:292) at sun.net.www.http.HttpClient.New(HttpClient.java:304) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:393) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:487) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:221) at Test.main(Test.java:10)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    marcbouvierdavmarcbouvierdav
    Once,
    mauritiusmauritius
    12 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    294 more bugmates