com.thoughtworks.selenium.SeleniumException

tip

Check if your MongoDB is available.


rp
tip

host port isnt set

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Connection refused error for WebDriver
    via by John,
  • Connection refused: connect, any help!! - Spring Forum
    via by Unknown author,
  • Eclipse RCP Application Host (revisited)
    via by jeffery....@gmail.com,
  • connection refused while doing Search
    via by ATGDinesh,
  • fw: selenium rc
    via by MayankS,
    • com.thoughtworks.selenium.SeleniumException: Connection refused: connect at com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(HttpCommandProcessor.java:111) at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:90) at com.thoughtworks.selenium.DefaultSelenium.captureScreenshot(DefaultSelenium.java:719) at com.thoughtworks.selenium.ScreenshotListener.onTestFailure(ScreenshotListener.java:27) at com.thoughtworks.selenium.ScreenshotListener.onConfigurationFailure(ScreenshotListener.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) Caused by: java.net.ConnectException: Connection refused: 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.SocksSocketImpl.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.<init>(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(UnknownSource) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(UnknownSource) at sun.net.www.protocol.http.HttpURLConnection.connect(UnknownSource) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(UnknownSource) at com.thoughtworks.selenium.HttpCommandProcessor.getOutputStreamWriter(HttpCommandProcessor.java:138) at com.thoughtworks.selenium.HttpCommandProcessor.getCommandResponseAsString(HttpCommandProcessor.java:165) at com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(HttpCommandProcessor.java:108) ... 22 more

    Users with the same issue

    marcbouvierdav
    2 times, last one,
    Casper
    10 times, last one,
    Adarro
    2 times, last one,
    Unknown visitor1 times, last one,
    kkandda
    2 times, last one,
    286 more bugmates