打开cmd窗口
netstat -ano
netstat -ano | findstr :端口号
因为80端口被系统服务占用,所以没办法直接杀掉进程,于是用netsh http show servicestate 查看当前的http服务状态
可以看到,80端口被一个DefaultAppPool的东西占用了,如果你以前使用过IIS,这时候肯定一定想到了原因
选择结束任务