uiautomator - Appium server throwing Unhandled error: Error: connect ECONNREFUSED -


i'm using appium 1.4. before client connection appium server, appium server socket created on port 4274. when client trying connect gets following exception:

2015-06-03 08:52:32:541 - info: [debug] [bootstrap] [debug] socket opened on port 4724 2015-06-03 08:52:32:554 - info: [debug] [bootstrap] [debug] appium socket server ready 2015-06-03 08:52:32:555 - info: [debug] [bootstrap] [debug] loading json... 2015-06-03 08:52:32:555 - info: [debug] [bootstrap] [debug] registered crash watchers. 2015-06-03 08:52:33:552 - error: unhandled error: error: connect econnrefused @ errnoexception (net.js:904:11) @ object.afterconnect [as oncomplete] (net.js:895:19) context: [post /wd/hub/session {"desiredcapabilities":{"automationname":"appium","platformversion":"nokia x software platform 1.1","devicename":"nokia xl dual sim","platformname":"android","browsername":"browser"}}]

but, there no server socket created on port 4274 on host appium running.

could suggest me went wrong , how resolve issue ?


Comments