java.net.ConnectException: Connection refused: connect

Stack Overflow | Draken | 2 months ago
  1. 0

    Ant command for Sahi tests fail when ran from Jenkins

    Stack Overflow | 2 months ago | Draken
    java.net.ConnectException: Connection refused: connect
  2. 0

    Java URL class openStream throwing java.net.ConnectException: Connection refused: connect

    Stack Overflow | 5 years ago | train5potting
    java.net.ConnectException: Connection refused: connect
  3. 0

    java.net.ConnectException: Connection refused: connect - Sahi Community Forums

    sahipro.com | 2 years ago
    java.net.ConnectException: Connection refused: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to access http://appengine.google.com/api ( Eclipse helio for java developers)

    Google Groups | 6 years ago | CharlesNaija
    java.net.ConnectException: Connection refused: connect
  6. 0

    Google App Engine error

    Stack Overflow | 5 years ago | Crimsonarcher
    java.net.ConnectException: Connection refused: connect

  1. eti22 1 times, last 3 weeks 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 refused: connect

    at java.net.DualStackPlainSocketImpl.connect0()
  2. Java RT
    URL.openStream
    1. java.net.DualStackPlainSocketImpl.connect0(Native Method)
    2. java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:69)
    3. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    5. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    6. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
    7. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
    8. java.net.Socket.connect(Socket.java:579)
    9. java.net.Socket.connect(Socket.java:528)
    10. sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    11. sun.net.www.http.HttpClient.openServer(HttpClient.java:378)
    12. sun.net.www.http.HttpClient.openServer(HttpClient.java:473)
    13. sun.net.www.http.HttpClient.<init>(HttpClient.java:203)
    14. sun.net.www.http.HttpClient.New(HttpClient.java:290)
    15. sun.net.www.http.HttpClient.New(HttpClient.java:306)
    16. sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:995)
    17. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931)
    18. sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:849)
    19. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1299)
    20. java.net.URL.openStream(URL.java:1035)
    20 frames
  3. net.sf.sahi
    RunSahiTask.execute
    1. net.sf.sahi.test.TestRunner.execute(TestRunner.java:328)
    2. net.sf.sahi.test.TestRunner.execute(TestRunner.java:310)
    3. net.sf.sahi.ant.RunSahiTask.startServer(RunSahiTask.java:119)
    4. net.sf.sahi.ant.RunSahiTask.execute(RunSahiTask.java:94)
    4 frames
  4. Ant
    UnknownElement.execute
    1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:601)
    3 frames
  6. Ant
    UnknownElement.execute
    1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    2. org.apache.tools.ant.Task.perform(Task.java:348)
    3. org.apache.tools.ant.Target.execute(Target.java:435)
    4. org.apache.tools.ant.Target.performTasks(Target.java:456)
    5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
    6. org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    7. org.apache.tools.ant.Project.executeTargets(Project.java:1248)
    8. org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
    9. org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    10. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    10 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:601)
    3 frames
  8. Ant
    UnknownElement.execute
    1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    2. org.apache.tools.ant.Task.perform(Task.java:348)
    3. org.apache.tools.ant.Target.execute(Target.java:435)
    4. org.apache.tools.ant.Target.performTasks(Target.java:456)
    5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
    6. org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    7. org.apache.tools.ant.Project.executeTargets(Project.java:1248)
    8. org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
    9. org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    10. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    10 frames
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:601)
    4 frames
  10. Ant
    Main.startAnt
    1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    2. org.apache.tools.ant.Task.perform(Task.java:348)
    3. org.apache.tools.ant.Target.execute(Target.java:435)
    4. org.apache.tools.ant.Target.performTasks(Target.java:456)
    5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
    6. org.apache.tools.ant.Project.executeTarget(Project.java:1364)
    7. org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    8. org.apache.tools.ant.Project.executeTargets(Project.java:1248)
    9. org.apache.tools.ant.Main.runBuild(Main.java:851)
    10. org.apache.tools.ant.Main.startAnt(Main.java:235)
    10 frames
  11. Apache Ant Launcher
    Launcher.main
    1. org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    2. org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
    2 frames