===============解决80&443端口被pid=4进程占用的方案===============
1:在命令行里执行net stop http(画面脑补,没有截图)
2:step1执行完后执行Sc config http start= disabled(画面脑补,没有截图)
3:确认:netstat -ano | findstr 80 ,发现80端口已经没有进程占用,如果没有效果重新启动系统
================执行上面的命令会导致IIS站点启动不了的解决方案==========================
系统提示world wide web publishing service服务已经被停,需要启动,但启动时会发现启动失败因为相关依赖服务没有启动
1:执行sc config http start=demand & net start http,提示成功后启动world wide web publishing service
2:启动world wide web publishing service这个服务,成功。