Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    via Stack Overflow by LittlePanda

    To restart the Selenium Webdriver mock browser in a testcase, first use driver.close() and then reinstantiate the driver.

  2. ,
    via GitHub by rawlingsj

    host port isnt set

Solutions on the web

via Stack Overflow by Suba Kumaran
, 1 year ago
Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:09' System info: host: 'Tharanga', ip: '192.168.2.22', os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_05' Driver info: driver.version: RemoteWebDriver
via Stack Overflow by Shweta
, 1 year ago
Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38' System info: host
via Google Groups by Unknown author, 1 year ago
Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Build info: version: '2.42.2', revision: '6a6995d', time: '2014-06-03 17:42:30' System info: host: 'Damcos-Mac-mini.local', ip
via Stack Overflow by Uday
, 2 days ago
**Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.** Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z' System info: host: 'XXXXXX', ip: 'XXXXXX
via Google Groups by Unknown author, 1 year ago
Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'LM-SYD-00321164', ip: '10.252.92.41', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.8.5', java.version: '1.8.0_05' Driver info: driver.version: RemoteWebDriver
java.net.ConnectException: Connection refused: connect	at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)	at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)	at java.net.Socket.connect(Socket.java:589)	at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74)	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)	at org.openqa.selenium.remote.internal.ApacheHttpClient.fallBackExecute(ApacheHttpClient.java:144)	at org.openqa.selenium.remote.internal.ApacheHttpClient.execute(ApacheHttpClient.java:90)	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:142)	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:644)	at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)	at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)	at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:158)	at MobileAuto.Calculator.setUp(Calculator.java:42)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:483)	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)	at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:816)	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1124)	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)	at org.testng.TestRunner.privateRun(TestRunner.java:774)	at org.testng.TestRunner.run(TestRunner.java:624)	at org.testng.SuiteRunner.runTest(SuiteRunner.java:359)	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:354)	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:312)	at org.testng.SuiteRunner.run(SuiteRunner.java:261)	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1215)	at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)	at org.testng.TestNG.run(TestNG.java:1048)	at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:132)	at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:236)	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:81)