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

  1. ,
    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.

Solutions on the web

via Coderanch by Mahesh Kakade, 1 year ago
via Oracle Community by 807606, 1 year ago
via Oracle Community by 706710, 1 year ago
via Coderanch by Deepak Lal, 1 year ago
via Coderanch by Deepak Lal, 1 year ago
via instantiations.com by Unknown author, 1 year ago
java.net.NoRouteToHostException: No route to host: connect	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.PlainSocketImpl.doConnect(Unknown Source)	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)	at java.net.PlainSocketImpl.connect(Unknown Source)	at java.net.Socket.connect(Unknown Source)	at java.net.Socket.connect(Unknown Source)	at sun.net.NetworkClient.doConnect(Unknown Source)	at sun.net.www.http.HttpClient.openServer(Unknown Source)	at sun.net.www.http.HttpClient.openServer(Unknown Source)	at sun.net.www.http.HttpClient.(Unknown Source)	at sun.net.www.http.HttpClient.New(Unknown Source)	at sun.net.www.http.HttpClient.New(Unknown Source)	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)	at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)	at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)	at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)	at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)	at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)	at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)	at org.jdom.input.SAXBuilder.build(SAXBuilder.java:810)	at xmleditor.XmlEdit.main(XmlEdit.java:27)