I'm trying to run an autotest, this one appears ... Can anyone come across this?

Test have been initialized [TestNG] FAILED: "Command line test 3ba421dc-facf-426c-a144-863428d28ec1" - FirstTest.main() finished in 123996 ms [TestNG] org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. [TestNG] Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' [TestNG] System info: host: 'ip-172-31-13-65', ip: '172.31.13.65', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-139-generic', java.version: '1.8.0_151' [TestNG] Driver info: driver.version: AndroidDriver [TestNG] at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:665) [TestNG] at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40) [TestNG] at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) [TestNG] at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) [TestNG] at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249) [TestNG] at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131) [TestNG] at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:144) [TestNG] at io.appium.java_client.DefaultGenericMobileDriver.<init>(DefaultGenericMobileDriver.java:36) [TestNG] at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:114) [TestNG] at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:132) [TestNG] at io.appium.java_client.android.AndroidDriver.<init>(AndroidDriver.java:92) [TestNG] at FirstTest.main(FirstTest.java:25) [TestNG] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [TestNG] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [TestNG] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [TestNG] at java.lang.reflect.Method.invoke(Method.java:498) [TestNG] at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) [TestNG] at org.testng.internal.Invoker.invokeMethod(Invoker.java:714) [TestNG] at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901) [TestNG] at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231) [TestNG] at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127) [TestNG] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) [TestNG] at org.testng.TestRunner.privateRun(TestRunner.java:767) [TestNG] at org.testng.TestRunner.run(TestRunner.java:617) [TestNG] at org.testng.SuiteRunner.runTest(SuiteRunner.java:348) [TestNG] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343) [TestNG] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305) [TestNG] at org.testng.SuiteRunner.run(SuiteRunner.java:254) [TestNG] at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) [TestNG] at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) [TestNG] at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) [TestNG] at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) [TestNG] at org.testng.TestNG.run(TestNG.java:1057) [TestNG] at org.testng.TestNG.privateMain(TestNG.java:1364) [TestNG] at org.testng.TestNG.main(TestNG.java:1333) [TestNG] Caused by: org.openqa.selenium.WebDriverException: org.apache.http.conn.ConnectTimeoutException: Connect to 0.0.0.0:4723 [/0.0.0.0] failed: connect timed out 

Test code

 public class FirstTest { private AndroidDriver<MobileElement> driver = null; private DesiredCapabilities capabilities = new DesiredCapabilities(); @Test public void main(){ capabilities.setCapability("platformName", "Android"); capabilities.setCapability("deviceName", "Nexus_5X_API_24"); capabilities.setCapability("appPackage", "packageName"); capabilities.setCapability("appActivity", "activityName"); // capabilities.setCapability("app", "app.apk"); try { System.out.println("Test have been initialized"); driver = new AndroidDriver<MobileElement>(new URL("http://127.0.0.1:4723/wd/hub"), capabilities); // driver.manage().timeouts().implicitlyWait(1, TimeUnit.SECONDS); System.out.println("Try to set value for login"); driver.findElement(By.id("id/let_login_login")).click(); driver.findElementById("id/let_login_login").sendKeys("60992"); System.out.println("Try to set value for password"); driver.findElementById("id/et_login_password").click(); driver.findElementById("id/et_login_password").sendKeys("test"); driver.findElementById("id/btnLoginEnter").click(); }catch (MalformedURLException e){ System.out.println(e.getMessage()); } } } 

    0