Windows下80端口被进程System占用的解决方法 末蓝、 2022-05-24 11:44 208阅读 0赞 最近电脑时不时就发生了80端口被占用的情况,简单百度解决后,当重启电脑的时候又发生被占用的情况.今天非常幸运的是,发生了80端口和8080端口都被占用了情况,忍无可忍决定下定决心解决这个坑爹的问题,经过重新百度完美地解决了这个问题,下面贴出解决方法: 一:原文地址: http://www.2cto.com/os/201505/399603.html 我的占用原因是 SQL Server Reporting Services,停止掉这个服务并设置其为手动启动即可 如果你并没有安装 SQL Server,请参考下文解决 =============================================================================== 突然发现 80 端口被莫名占用,咋一看还是 System 这个进程 又无法结束这货,于是开始慢慢查看到底是什么东西占用了 首先,打开 cmd 跑这一句,80 端口被System 占用,肯定是 HTTP 服务搞的鬼 [?][Link 1] <table style="list-style:none;border:0px;padding:0px;margin:0px;background:none;float:none;line-height:1.1em;vertical-align:baseline;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace;font-size:1em;min-height:auto;"> <tbody style="background:none;border:0px;float:none;line-height:1.1em;margin:0px;padding:0px;vertical-align:baseline;font-size:1em;min-height:auto;"> <tr style="list-style:none;border:0px;padding:0px;margin:0px;background:none;float:none;line-height:1.1em;vertical-align:baseline;font-size:1em;min-height:auto;"> <td style="list-style:none;border:0px;padding:0px;margin:0px;background:none;float:none;line-height:1.1em;vertical-align:baseline;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace;font-size:1em;min-height:auto;color:rgb(175,175,175);"> <div style="list-style:none;border-width:0px 3px 0px 0px;padding:0px .5em 0px 1em;margin:0px;border-right-style:solid;border-right-color:rgb(108,226,108);float:none;line-height:1.1em;text-align:right;vertical-align:baseline;font-size:1em;min-height:auto;white-space:pre;"> 1 </div></td> <td style="list-style:none;border:0px;padding:0px;margin:0px;background:none;float:none;line-height:1.1em;vertical-align:baseline;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace;font-size:1em;min-height:auto;"> <div style="list-style:none;border:0px;padding:0px;margin:0px;background:none;float:none;line-height:1.1em;vertical-align:baseline;font-size:1em;min-height:auto;"> <div style="list-style:none;border:0px;padding:0px 1em;margin:0px;float:none;line-height:1.1em;vertical-align:baseline;font-size:1em;min-height:auto;white-space:pre;"> <code style="background:none;border:0px;float:none;line-height:1.1em;margin:0px;padding:0px;vertical-align:baseline;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace;font-size:1em;min-height:auto;">netsh http show servicestate</code> </div> </div></td> </tr> </tbody> </table> 看到 REPORTSERVER 略显疑惑 ![\\][20150515101438100.png] 我们继续看,得到使用 80 端口的 PID了,还等什么?开 taskmgr!(任务管理器) ![\\][20150515101438102.png] 任务管理器查看 PID 的方法: ![\\][20150515101439104.png] 上方在 cmd 中,我们得到 PID = 4212,现在我们看看是什么东西在作怪 ![\\][20150515101440109.png] 看到上图的结果,恍然大悟!如果大家不确定那是一个什么进程,我们对他右键 - 打开文件所在位置 ![\\][20150515101440110.png] 这下大家应该都明白了吧。我这个占用的根本是 SQL Server 的报告服务 ![\\][20150515101443116.png] 最后我去 services.msc 里停止他并设置这个服务为手动就搞定了。 [Link 1]: http://www.2cto.com/os/201505/399603.html# [20150515101438100.png]: http://www.2cto.com/uploadfile/Collfiles/20150515/20150515101438100.png [20150515101438102.png]: http://www.2cto.com/uploadfile/Collfiles/20150515/20150515101438102.png [20150515101439104.png]: http://www.2cto.com/uploadfile/Collfiles/20150515/20150515101439104.png [20150515101440109.png]: http://www.2cto.com/uploadfile/Collfiles/20150515/20150515101440109.png [20150515101440110.png]: http://www.2cto.com/uploadfile/Collfiles/20150515/20150515101440110.png [20150515101443116.png]: http://www.2cto.com/uploadfile/Collfiles/20150515/20150515101443116.png
还没有评论,来说两句吧...