java.net.NoRouteToHostException

No route to host: connect

Samebug tips1

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.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web284

  • via Unknown by 3004,
  • via Unknown by Misnad Haque,
  • via Unknown by Surendra,
  • Stack trace

    • 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.<init>(Socket.java:291) at java.net.Socket.<init>(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.<init>(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) at javax.security.auth.login.LoginContext.login(LoginContext.java:534)

    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,
    abrazenebabrazeneb
    15 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    derproggerderprogger
    21 times, last one
    16 more bugmates