appium----【Mac】address already in user 127.0.0.1:4725,端口被占用的查找与kill进程

报错截图示例:

解决方法:

Mac:

lsof -i tcp:4723   #查看端口号

 

sudo kill -9 29443   #杀死进程

 

Windows:

netstat -aon|findstr 4723  #4723为查找的端口号

taskkill -f -pid 进程号

示例:

  
 
原文地址:https://www.cnblogs.com/syw20170419/p/10569898.html