java.net.ConnectException

Connection timed out: connect

Solutions on the web13901

  • via Terracotta by mgd216, 1 year ago
    Connection timed out: connect
  • via Terracotta by sphinx, 3 weeks ago
    Connection timed out: connect
  • via Coderanch by Kel Walker, 7 months ago
    Connection timed out: connect
  • Stack trace

    • java.net.ConnectException: Connection timed out: 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:426) at java.net.Socket.connect(Socket.java:376) at sun.net.NetworkClient.doConnect(NetworkClient.java:139) at sun.net.www.http.HttpClient.openServer(HttpClient.java:386) at sun.net.www.http.HttpClient.openServer(HttpClient.java:602) at sun.net.www.http.HttpClient.<init>(HttpClient.java:303) at sun.net.www.http.HttpClient.<init>(HttpClient.java:264) at sun.net.www.http.HttpClient.New(HttpClient.java:336) at sun.net.www.http.HttpClient.New(HttpClient.java:317) at sun.net.www.http.HttpClient.New(HttpClient.java:312) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:481) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:472) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:574) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:1169) at java.net.URLConnection.getContentType(URLConnection.java:381) at org.apache.crimson.parser.Resolver.resolveEntity(Resolver.java:388) at org.apache.crimson.parser.ExternalEntity.getInputSource(ExternalEntity.java:89) at org.apache.crimson.parser.Parser2.pushReader(Parser2.java:3133) at org.apache.crimson.parser.Parser2.externalParsedEntity(Parser2.java:2819) at org.apache.crimson.parser.Parser2.expandEntityInContent(Parser2.java:2545) at org.apache.crimson.parser.Parser2.maybeReferenceInContent(Parser2.java:2422) at org.apache.crimson.parser.Parser2.content(Parser2.java:1833) at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507) at org.apache.crimson.parser.Parser2.content(Parser2.java:1779) at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500) at org.apache.crimson.parser.Parser2.parse(Parser2.java:305) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442) at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:151) at XmlCompareTest.main(XmlCompareTest.java:34)

    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

    21 times, 4 hours ago
    90 times, 7 hours ago
    130 times, 8 hours ago
    18 times, 3 days ago
    26 times, 4 days ago
    279 more bugmates