java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 80) after 30000ms: isConnected failed: ECONNREFUSED (Connection refused)

Stack Overflow | Varsha | 8 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

    client.connect() not working

    Stack Overflow | 8 months ago | Varsha
    java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 80) after 30000ms: isConnected failed: ECONNREFUSED (Connection refused)
  2. 0

    when play mp3 in background and lock screen error happen

    GitHub | 3 months ago | yanglichuan
    com.google.android.exoplayer2.upstream.HttpDataSource$HttpDataSourceException: Unable to connect to http://cdn.kaishuhezi.com/audio/story/M-3-01-20150408.mp3
  3. 0

    Sending requests over network with no internet connection in Android 5.1

    Stack Overflow | 2 years ago | Jem
    java.net.ConnectException: failed to connect to /192.168.4.1 (port 80) after 15000ms: isConnected failed: EHOSTUNREACH (No route to host) 08-28 00:15:04.450 17489-19943/com.cloud.jem.networktest W/System.err﹕ at libcore.io.IoBridge.isConnected(IoBridge.java:238)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    signala-android signalA 框架 断开网络 程序直接停止运行 要怎么改呢——CSDN问答频道

    csdn.net | 10 months ago
    java.net.ConnectException: failed to connect to /123.56.130.232 (port 8089) after 1000ms: connect failed: ENETUNREACH (Network is unreachable)
  6. 0

    App exception when previewing currency chart without network connection

    GitHub | 1 year ago | MisterY
    java.lang.RuntimeException: Error in Image Load Task

  1. ajinkya_w 14 times, last 6 months ago
  2. joni1408 18 times, last 10 months ago
  3. Riyaz 4 times, last 10 months ago
  4. dmitry 2 times, last 11 months ago
  5. szoszi 2 times, last 1 year ago
52 more registered users
25 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. android.system.ErrnoException

    isConnected failed: ECONNREFUSED (Connection refused)

    at libcore.io.IoBridge.isConnected()
  2. Android
    IoBridge.connect
    1. libcore.io.IoBridge.isConnected(IoBridge.java:226)
    2. libcore.io.IoBridge.connectErrno(IoBridge.java:174)
    3. libcore.io.IoBridge.connect(IoBridge.java:122)
    3 frames
  3. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
    2. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:456)
    3. java.net.Socket.connect(Socket.java:882)
    3 frames
  4. Android
    HttpURLConnectionImpl.connect
    1. com.android.okhttp.internal.Platform.connectSocket(Platform.java:139)
    2. com.android.okhttp.Connection.connect(Connection.java:152)
    3. com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:279)
    4. com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:213)
    5. com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:373)
    6. com.android.okhttp.internal.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:106)
    6 frames
  5. com.example.playtym
    Mobile_num$signin_process.doInBackground
    1. com.example.playtym.playtym.Mobile_num$signin_process.get_response(Mobile_num.java:154)
    2. com.example.playtym.playtym.Mobile_num$signin_process.doInBackground(Mobile_num.java:109)
    3. com.example.playtym.playtym.Mobile_num$signin_process.doInBackground(Mobile_num.java:100)
    3 frames
  6. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:288)
    1 frame
  7. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    1 frame
  8. Android Platform
    AsyncTask$SerialExecutor$1.run
    1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
    1 frame
  9. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    3. java.lang.Thread.run(Thread.java:818)
    3 frames