命令1 看看谁占用了80端口: netstat -aon|findstr "80" 发现进程
netstat -aon|findstr "80"
命令2 查询进程id是哪个进程的: tasklist|findstr "3904"
tasklist|findstr "3904"
看到这个进程被占用了 在任务管理器中找到停掉就可以了
参考博客: https://blog.csdn.net/qq_41569732/article/details/104245888