我正在使用appium 1.4。就在客户端连接到appium服务器之前,在端口4274上创建了一个appium服务器套接字。但是当客户端尝试连接时,会出现以下异常:
2015-06-03 08:52:32:541 - info:[debug] [BOOTSTRAP] [debug]在端口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]加载json ... 2015-06-03 08:52:32:555 - info:[debug] [BOOTSTRAP] [debug]已注册的崩溃观察者。 2015-06-03 08:52:33:552 - 错误:未处理的错误:错误:连接ECONNREFUSED 在errnoException(net.js:904:11) at Object.afterConnect [as oncomplete](net.js:895:19)context:[POST / wd / hub / session {“desiredCapabilities”:{“automationName”:“Appium”,“platformVersion”:“诺基亚X软件平台1.1“,”deviceName“:”诺基亚XL双卡“,”platformName“:”Android“,”browserName“:”浏览器“}}]
但是,在运行appium的主机上的端口4274上没有创建服务器套接字。
有人可以告诉我出了什么问题以及如何解决这个问题吗?