前几天用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