该端口已被占用,请先停止进程 netstat -tln //查看端口使用情况 lsof -i:端口号 //查看所占用的端口运行情况,找到占用端口的进程 kill -9 PID //杀死该进程所用 netstat -tln //检验是否杀光了