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:

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web8101

  • 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:
  • via Stack Overflow by Nick Furness
    , 3 months ago
    failed to connect to /192.168.0.100 (port 1234) after 15000ms: isConnected failed: EHOSTUNREACH (No route to host) 03-30 14:40:03.806 28533 3662 W System.err:
  • failed to connect to /81.7.11.83 (port 80) after 3000ms: isConnected failed: EHOSTUNREACH (No route to host)
  • Stack trace

    • 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: at libcore.io.IoBridge.isConnected(IoBridge.java:238) at libcore.io.IoBridge.connectErrno(IoBridge.java:171) at libcore.io.IoBridge.connect(IoBridge.java:122) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:456) at java.net.Socket.connect(Socket.java:882) at com422studio.vk.checkwifilist.Client.doInBackground(Client.java:49) at myProject.checkwifilist.Client.doInBackground(Client.java:22) at android.os.AsyncTask$2.call(AsyncTask.java:288) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818) Caused by: 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(IoBridge.java:223) ... 13 more

    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

    2 times, 7 months ago
    32 times, 9 months ago
    18 times, 11 months ago
    Unknown user
    Once, 11 months ago
    4 times, 1 year ago
    51 more bugmates