查看所有网络端口netstat -an 查看端口具体进程lsof -i :8081端口号:lsof -t -i: 8080 查看端口详细信息ps -aux | grep 8081 杀掉进程kill -9 8081