java.net.SocketException: 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 JIRA by Igor Galić, 1 year ago
Network is unreachable
via Google Groups by Patrick Conway, 1 year ago
Network is unreachable: www.googleapis.com */2a00:1450:400c:c02:0:0:0:5f*:443
via Stack Overflow by I test only in Prod
, 1 year ago
No buffer space available (maximum connections reached?): connect: /someotherserver.com:8082 (this is another resource to which my app is making connection)
java.net.SocketException: Network is unreachable
at sun.nio.ch.Net.connect0(Native Method)
at sun.nio.ch.Net.connect(Net.java:457)
at sun.nio.ch.Net.connect(Net.java:449)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:647)
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processSessionRequests(DefaultConnectingIOReactor.java:272)
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:141)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

3 times, 3 months ago
12 times, 5 months ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
14 more bugmates

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