java.net.NoRouteToHostException: No route to host

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

Samebug tips

,
Expert tip

Signals that an error occurred while attempting to connect a socket to a remote address and port. Typically, the remote host cannot be reached because of an intervening firewall, or if an intermediate router is down.

java.net.NoRouteToHostException: No route to host
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at java.net.Socket.init(Socket.java:365)
at java.net.Socket.init(Socket.java:207)
at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.sendMessage(Oc4jNotifier.java:98)
at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.postInitApplicationServer(Oc4jNotifier.java:55)
at com.evermind.server.ApplicationServer.serverExtensionPostInit(ApplicationServer.java:1041)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:927)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:98)
at java.lang.Thread.run(Thread.java:595)

Users with the same issue

3 times, 1 month ago
8 times, 1 month ago
6 times, 2 months ago
21 times, 4 months ago
6 times, 11 months ago

Write tip

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