java.net.ConnectException: failed to connect to /192.168.137.1 (port 12345) after 5000ms: isConnected failed: EHOSTUNREACH (No route to host) 10-11 14:50:10.499 22651-28709/myProject.checkwifilist W/System.err:

Stack Overflow | MrStuff88 | 7 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    How to connect android and PC through local wireless

    Stack Overflow | 7 months ago | MrStuff88
    java.net.ConnectException: failed to connect to /192.168.137.1 (port 12345) after 5000ms: isConnected failed: EHOSTUNREACH (No route to host) 10-11 14:50:10.499 22651-28709/myProject.checkwifilist W/System.err:
  2. 0
    samebug tip
    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
  3. 0

    Crashlytics Initialization ConnectionException (EHOSTUNREACH)

    Stack Overflow | 2 years ago | SJoshi
    io.fabric.sdk.android.services.network.HttpRequest$HttpRequestException: java.net.ConnectException: failed to connect to settings.crashlytics.com/54.83.37.39 (port 443) after 10000ms: isConnected failed: EHOSTUNREACH (No route to host)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Paste.ee - View paste K2dtg

    paste.ee | 10 months ago
    java.net.ConnectException: failed to connect to /127.0.0.1 (port 2515) after 1000ms: isConnected failed: ECONNREFUSED (Connection refused)
  6. 0

    GitHub comment 3167#145736532

    GitHub | 2 years ago | oren
    java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 8081) after 5000ms: isConnected failed: ECONNREFUSED (Connection refused)
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: EHOSTUNREACH (No route to host) 10-11 14:50:10.509 22651-28709/myProject.checkwifilist W/System.err:

    at libcore.io.IoBridge.isConnected()
  2. Android
    IoBridge.connect
    1. libcore.io.IoBridge.isConnected(IoBridge.java:223)
    2. libcore.io.IoBridge.connectErrno(IoBridge.java:171)
    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. com422studio.vk.checkwifilist
    Client.doInBackground
    1. com422studio.vk.checkwifilist.Client.doInBackground(Client.java:49)
    1 frame
  5. myProject.checkwifilist
    Client.doInBackground
    1. myProject.checkwifilist.Client.doInBackground(Client.java:22)
    1 frame
  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