1.查找所有端口号对应的PID
端口号:8080
命令:netstat -ano|findstr "8080"
2.找到端口的PID并关闭
PID:1016
命令:taskkill/pid 1016 /F