解决启动appium 提示端口被占用问题

执行appium 启动命令:

appium --log-timestamp

 

无法启动成功,并有提示如下:

 

2020-07-13 07:32:48:654 - [HTTP] Could not start REST http interface listener. The requested port may already be in use. Please make sure there is no other instance of this server running already.

Fatal Error: listen EADDRINUSE: address already in use 0.0.0.0:4723

    at Server.setupListenHandle [as _listen2] (net.js:1309:16)

    at listenInCluster (net.js:1357:12)

    at doListen (net.js:1496:7)

    at processTicksAndRejections (internal/process/task_queues.js:85:21)

 

解决方法:在终端输入命令:killall -9 node

 

posted @ 2020-07-13 15:39  博琴雅心  阅读(2201)  评论(0编辑  收藏  举报