查看所有端口信息netstat -anp netstat -anp |grep 8080查看是否8080端口被占用lsof -i:8080杀掉8080端口的占用kill -9 $(lsof -t -i:8080)