{"action":"created","issue":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/414","labels_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/414/labels{/name}","comments_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/414/comments","events_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/414/events","html_url":"https://github.com/webdriverio/webdriverio/issues/414","id":56376759,"number":414,"title":"Throws Couldn't connect to selenium server in Ubuntu 14.04 LTS","user":{"login":"byteshiva","id":10637299,"avatar_url":"https://avatars.githubusercontent.com/u/10637299?v=3","gravatar_id":"","url":"https://api.github.com/users/byteshiva","html_url":"https://github.com/byteshiva","followers_url":"https://api.github.com/users/byteshiva/followers","following_url":"https://api.github.com/users/byteshiva/following{/other_user}","gists_url":"https://api.github.com/users/byteshiva/gists{/gist_id}","starred_url":"https://api.github.com/users/byteshiva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/byteshiva/subscriptions","organizations_url":"https://api.github.com/users/byteshiva/orgs","repos_url":"https://api.github.com/users/byteshiva/repos","events_url":"https://api.github.com/users/byteshiva/events{/privacy}","received_events_url":"https://api.github.com/users/byteshiva/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webdriverio/webdriverio/labels/Bug","name":"Bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-03T13:23:40Z","updated_at":"2015-02-04T08:42:49Z","closed_at":null,"body":"The webdriver is throwing \"couldnt connect to selenium server in Ubuntu 14.04\"?\r\n\r\n\r\n```\r\nuname -a\r\nLinux siva-HP-Mini-110-1100 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:12 UTC 2014 i686 i686 i686 GNU/Linux\r\n```\r\n\r\n```\r\nClient code \r\nvar webdriverio = require('webdriverio'),\r\n    options = {\r\n        desiredCapabilities: {\r\n            browserName: 'phantomjs'\r\n        }\r\n    },\r\n   client = webdriverio.remote(options);\r\n```\r\n\r\n```\r\n$phantomjs --webdriver=4444\r\nPhantomJS is launching GhostDriver...\r\n[INFO  - 2015-02-03T13:19:15.999Z] GhostDriver - Main - running on port 4444\r\n[INFO  - 2015-02-03T13:19:39.094Z] Session [4e609c80-aba7-11e4-af2d-7bd955c73cab] - CONSTRUCTOR - Desired Capabilities: {\"browserName\":\"phantomjs\",\"version\":\"\",\"javascriptEnabled\":true,\"locationContextEnabled\":true,\"handlesAlerts\":true,\"rotatable\":true,\"platform\":\"ANY\",\"requestOrigins\":{\"url\":\"http://webdriver.io\",\"version\":\"2.4.5\",\"name\":\"webdriverio\"}}\r\n[INFO  - 2015-02-03T13:19:39.094Z] Session [4e609c80-aba7-11e4-af2d-7bd955c73cab] - CONSTRUCTOR - Negotiated Capabilities: {\"browserName\":\"phantomjs\",\"version\":\"1.9.0\",\"driverName\":\"ghostdriver\",\"driverVersion\":\"1.0.3\",\"platform\":\"linux-unknown-32bit\",\"javascriptEnabled\":true,\"takesScreenshot\":true,\"handlesAlerts\":false,\"databaseEnabled\":false,\"locationContextEnabled\":false,\"applicationCacheEnabled\":false,\"browserConnectionEnabled\":false,\"cssSelectorsEnabled\":true,\"webStorageEnabled\":false,\"rotatable\":false,\"acceptSslCerts\":false,\"nativeEvents\":true,\"proxy\":{\"proxyType\":\"direct\"}}\r\n[INFO  - 2015-02-03T13:19:39.095Z] SessionManagerReqHand - _postNewSessionCommand - New Session Created: 4e609c80-aba7-11e4-af2d-7bd955c73cab\r\n```\r\n\r\n```\r\nRuntimeError: RuntimeError\r\n     (ECONNREFUSED:-1) Couldn't connect to selenium server\r\n     Problem: Couldn't connect to selenium server\r\n\r\n     Callstack:\r\n     -> init()\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/comments/72810257","html_url":"https://github.com/webdriverio/webdriverio/issues/414#issuecomment-72810257","issue_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/414","id":72810257,"user":{"login":"christian-bromann","id":731337,"avatar_url":"https://avatars.githubusercontent.com/u/731337?v=3","gravatar_id":"","url":"https://api.github.com/users/christian-bromann","html_url":"https://github.com/christian-bromann","followers_url":"https://api.github.com/users/christian-bromann/followers","following_url":"https://api.github.com/users/christian-bromann/following{/other_user}","gists_url":"https://api.github.com/users/christian-bromann/gists{/gist_id}","starred_url":"https://api.github.com/users/christian-bromann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christian-bromann/subscriptions","organizations_url":"https://api.github.com/users/christian-bromann/orgs","repos_url":"https://api.github.com/users/christian-bromann/repos","events_url":"https://api.github.com/users/christian-bromann/events{/privacy}","received_events_url":"https://api.github.com/users/christian-bromann/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T08:42:49Z","updated_at":"2015-02-04T08:42:49Z","body":"@byteshiva mhm .. seems that the test script can't connect to phantom (`ENOTFOUND`). Are you running both on the same machine?"}}