java.net.ConnectException: Connection timed out: connect

strutstestcase | nobody | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    testing DynaValidatorForm

    strutstestcase | 1 decade ago | nobody
    java.net.ConnectException: Connection timed out: connect
  2. 0

    Help!!!  Tag Library error

    Oracle Community | 1 decade ago | 843835
    java.net.ConnectException: Connection timed out: connect
  3. 0

    Loading validatorPlugin fail ...

    Coderanch | 1 decade ago | Franck Beuselinck
    java.net.ConnectException: Connection timed out: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problems with Xerces Parser

    Oracle Community | 1 decade ago | 433758
    java.net.ConnectException: Connection timed out
  6. 0

    FrontPage/Axis/JavaTimeout - Ws Wiki

    apache.org | 2 years ago
    java.net.ConnectException: Connection timed out: connect

  1. eti22 1 times, last 3 months ago
6 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection timed out: connect

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    URL.openStream
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    5. java.net.Socket.connect(Socket.java:434)
    6. java.net.Socket.connect(Socket.java:384)
    7. sun.net.NetworkClient.doConnect(NetworkClient.java:139)
    8. sun.net.www.http.HttpClient.openServer(HttpClient.java:386)
    9. sun.net.www.http.HttpClient.openServer(HttpClient.java:602)
    10. sun.net.www.http.HttpClient.<init>(HttpClient.java:303)
    11. sun.net.www.http.HttpClient.<init>(HttpClient.java:264)
    12. sun.net.www.http.HttpClient.New(HttpClient.java:336)
    13. sun.net.www.http.HttpClient.New(HttpClient.java:317)
    14. sun.net.www.http.HttpClient.New(HttpClient.java:312)
    15. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:481)
    16. sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:472)
    17. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:574)
    18. java.net.URL.openStream(URL.java:960)
    18 frames
  3. Xerces2-j
    AbstractSAXParser.parse
    1. org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:947)
    2. org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:893)
    3. org.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:860)
    4. org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:288)
    5. org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:911)
    6. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:348)
    7. org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:539)
    8. org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:595)
    9. org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
    10. org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1125)
    10 frames
  4. Commons Digester
    Digester.parse
    1. org.apache.commons.digester.Digester.parse(Digester.java:1567)
    1 frame
  5. Apache Commons Validator
    ValidatorResources.<init>
    1. org.apache.commons.validator.ValidatorResources.<init>(ValidatorResources.java:159)
    1 frame
  6. struts
    ActionServlet.init
    1. org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:233)
    2. org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:164)
    3. org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:839)
    4. org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)
    4 frames
  7. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:256)
    1 frame
  8. servletunit.struts
    MockStrutsTestCase.actionPerform
    1. servletunit.struts.MockStrutsTestCase.getActionServlet(MockStrutsTestCase.java:303)
    2. servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:371)
    2 frames
  9. com.pspl.jmc
    TestLogin.testLogin
    1. com.pspl.jmc.TestLogin.testLogin(TestLogin.java:18)
    1 frame
  10. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:324)
    4 frames
  11. JUnit
    TestSuite.run
    1. junit.framework.TestCase.runTest(TestCase.java:154)
    2. junit.framework.TestCase.runBare(TestCase.java:127)
    3. junit.framework.TestResult$1.protect(TestResult.java:106)
    4. junit.framework.TestResult.runProtected(TestResult.java:124)
    5. junit.framework.TestResult.run(TestResult.java:109)
    6. junit.framework.TestCase.run(TestCase.java:118)
    7. junit.framework.TestSuite.runTest(TestSuite.java:208)
    8. junit.framework.TestSuite.run(TestSuite.java:203)
    8 frames
  12. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
    2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)
    3 frames