- 终端命令
sudo lsof -i :9000
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
python3.6 2866 a 313u IPv6 0x1111111111111 0t0 TCP *:cslistener (LISTEN)
- 然后根据PID杀进程
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
python3.6 2866 a 313u IPv6 0x1111111111111 0t0 TCP *:cslistener (LISTEN)
本文标题:MAC查看端口占用情况
本文链接:https://www.haomeiwen.com/subject/ugfhlftx.html
网友评论