java.net.NoRouteToHostException: No route to host: connect

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 Oracle Community by 3004, 1 year ago
via Coderanch by Misnad Haque, 1 year ago
No route to host: connect
via Coderanch by marco tognoni, 1 year ago
No route to host: connect
via Oracle Community by 511611, 10 months ago
via Stack Overflow by Narendra
, 2 years ago
via Google Groups by Sören van Heek, 5 months ago
No route to host: connect
java.net.NoRouteToHostException: No route to host: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:434)
at java.net.Socket.connect(Socket.java:384)
at java.net.Socket.(Socket.java:291)
at java.net.Socket.(Socket.java:147)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:231)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:292)
at weblogic.net.http.HttpClient.(HttpClient.java:128)
at weblogic.net.http.HttpClient.New(HttpClient.java:170)
at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:112)
at weblogic.net.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:159)
at com.csxwt.zodiac.command.util.HttpConnection.marshall(HttpConnection.java:168)
at com.csxwt.zodiac.command.util.HttpConnection.execute(HttpConnection.java:85)
at com.csxwt.zodiac.security.ZodiacLoginModule.login(ZodiacLoginModule.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)

Users with the same issue

3 times, 3 months ago
8 times, 3 months ago
6 times, 4 months ago
21 times, 6 months ago
6 times, 1 year ago

Write tip

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