java.net.SocketException

sendto failed: ENETUNREACH (Network is unreachable)

Samebug tips0

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 web78

  • via GitHub by zdby
    ,
  • Stack trace

    • java.net.SocketException: sendto failed: ENETUNREACH (Network is unreachable) at libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:543) at libcore.io.IoBridge.sendto(IoBridge.java:512) at java.net.PlainDatagramSocketImpl.send(PlainDatagramSocketImpl.java:198) at java.net.DatagramSocket.send(DatagramSocket.java:281) at hillfly.wifichat.common.socket.udp.UDPMessageListener$1.run(UDPMessageListener.java:432) 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:841) Caused by: libcore.io.ErrnoException: sendto failed: ENETUNREACH (Network is unreachable) at libcore.io.Posix.sendtoBytes(Native Method) at libcore.io.Posix.sendto(Posix.java:156) at libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:177) at libcore.io.IoBridge.sendto(IoBridge.java:510) ... 6 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

    Unknown visitor
    Unknown visitorOnce,
    AravindAravind
    3 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Indri YunitaIndri Yunita
    322 times, last one
    franky lifranky li
    6 times, last one
    10 more bugmates