Window下: netstat -ano|findstr 8080(端口号) taskkill /f /t /im 19644(tcp号) Linux下: 查看端口:netstat -tln | grep 8083 端口被哪个进程占用:lsof -i :8083 杀掉进程:kill -9 进程id