Appium 【已解决】appium 运行崩溃后再启动,报端口被占用

strayeagle · 2014年09月18日 · 最后由 王楚宏 回复于 2016年08月11日 · 1703 次阅读

appium 在运行过程中崩溃了,再次启动 appium 的时候,出现端口被占用的提示信息,日志片段如下:

> Checking if an update is available
> Update not available
> Starting Node Server
> error: Couldn't start Appium REST http interface listener. Requested port is already in use. Please make sure there's no other instance of Appium running already.
> 
> 
> Node Server Process Ended

解决方法:
windows 环境下:
在任务管理器中找到 node.exe*32 进程,杀掉后重新启动 appium 即可;
linux 环境下:
killall -9 node 或 ps -ef | grep node | xargs kill -9

共收到 2 条回复 时间 点赞

大神,求指导如何在 ubuntu 14 上安装 appium,试了好久没成功啊。npm install appium 一直没反应

挺好的,解决问题了,很赞

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册