1. lsof 查看端口;
kill -9 pid 杀死进程
ps -ef | grep pid 查看进程详情
2. 查看本机IP地址的方法:
1) 系统偏好设置,网络
2) 终端输入命令:ifconfig | grep "inet " | grep -v 127.0.0.1
3.