1首先在cmd下输入 netstat -aon|findstr 8080 //数字为端口号 taskkill /f /PID 5769 //数字为PID //杀死该进程 netstat -aon //查看进程占用得端口号和pid