java.net.SocketException: sendto failed: ENETUNREACH (Network is unreachable)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by zdby
, 10 months ago
sendto failed: ENETUNREACH (Network is unreachable)
via shoutcast.com by Unknown author, 1 year ago
via GitHub by door43app
, 1 month ago
sendto failed: ENETUNREACH (Network is unreachable)
via GitHub by door43app
, 1 year ago
sendto failed: ENETUNREACH (Network is unreachable)
java.net.SocketException: 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)
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)

Users with the same issue

6 times, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
1183 times, 1 year ago
3 times, 5 months ago
327 times, 6 months ago
11 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.