查询端口号是否被占用 打开控制台: win + R “cmd” 回车 DOS命令: netstat -aon|findstr “80” 找到端口号对应的PID tasklist | findstr “4328” taskkill /PID 进程的PID //杀死进程 taskkill 参数列表