com.thoughtworks.selenium.SeleniumException

Connection refused: > > connect at > > > com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(Http CommandProcessor.java: > > 111) at > > > com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcess or.java: > > 90) at > > > com.thoughtworks.selenium.DefaultSelenium.captureScreenshot(DefaultSelenium .java: > > 719) at > > > com.thoughtworks.selenium.ScreenshotListener.onTestFailure(ScreenshotListen er.java: > > 27) at > > > com.thoughtworks.selenium.ScreenshotListener.onConfigurationFailure(Screens hotListener.java: > > 41) at > > org.testng.internal.Invoker.runConfigurationListeners(Invoker.java: > > 1791) at > > org.testng.internal.Invoker.handleConfigurationFailure(Invoker.java: > > 323) at > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:226) at > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130)

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web2

  • via Unknown by John,
  • Stack trace

    • com.thoughtworks.selenium.SeleniumException: Connection refused: > > connect at > > > com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(Http CommandProcessor.java: > > 111) at > > > com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcess or.java: > > 90) at > > > com.thoughtworks.selenium.DefaultSelenium.captureScreenshot(DefaultSelenium .java: > > 719) at > > > com.thoughtworks.selenium.ScreenshotListener.onTestFailure(ScreenshotListen er.java: > > 27) at > > > com.thoughtworks.selenium.ScreenshotListener.onConfigurationFailure(Screens hotListener.java: > > 41) at > > org.testng.internal.Invoker.runConfigurationListeners(Invoker.java: > > 1791) at > > org.testng.internal.Invoker.handleConfigurationFailure(Invoker.java: > > 323) at > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:226) at > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130) at org.testng.TestRunner.beforeRun(TestRunner.java:632) at org.testng.TestRunner.run(TestRunner.java:600) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) at org.testng.TestNG.run(TestNG.java:999) at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111) at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:203) at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:174)

    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

    We couldn't find other users who have seen this exception.