com.android.volley.NoConnectionError

java.net.ConnectException: failed to connect to /192.168.1.44 (port 80) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)

Samebug tips2

The system selects automatically a group owner. The owner is always 192.168.49.1, and maybe it's trying to connect to itself. If you want to select an owner yourself, you can change the value of ownerIntent, more on this here: https://goo.gl/DGEh7K

If you're using Retrofit, check if the page you're trying to access doesn't redirect you somewhere else, as it seems to this exception.

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

Solutions on the web18

  • java.net.ConnectException: failed to connect to /192.168.1.44 (port 80) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
  • java.net.ConnectException: failed to connect to /192.168.1.161 (port 9000) after 60000ms: isConnected failed: ECONNREFUSED (Connection refused)
  • via GitHub by martinvol
    , 7 months ago
    java.net.ConnectException: Connection refused
  • Stack trace

    • com.android.volley.NoConnectionError: java.net.ConnectException: failed to connect to /192.168.1.44 (port 80) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused) at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:151) at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:112) Caused by: java.net.ConnectException: failed to connect to /192.168.1.44 (port 80) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused) at libcore.io.IoBridge.isConnected(IoBridge.java:223) at libcore.io.IoBridge.connectErrno(IoBridge.java:161) at libcore.io.IoBridge.connect(IoBridge.java:112) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459) at java.net.Socket.connect(Socket.java:843) at com.android.okhttp.internal.Platform.connectSocket(Platform.java:152) at com.android.okhttp.Connection.connect(Connection.java:101) at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:294) at com.android.okhttp.internal.http.HttpEngine.sendSocketRequest(HttpEngine.java:255) at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:206) at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:345) at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:296) at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:503) at com.android.volley.toolbox.HurlStack.performRequest(HurlStack.java:110) at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:97) ... 1 more Caused by: libcore.io.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused) at libcore.io.IoBridge.isConnected(IoBridge.java:208)

    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

    Once, 1 month ago
    Once, 1 month ago
    36 times, 2 months ago
    Once, 6 months ago
    2 times, 8 months ago
    18 more bugmates