例如解决8080端口占用问题 1.在dos下,输入 netstat -ano|findstr 8080 //说明:查看占用8080端口的进程 image.png 2.显示占用端口的进程 杀掉进程命令 4708 为PID后面进程号 taskkill /pid 4708 /f