简体   繁体   English

终止系统进程

[英]Killing a System Process

When I am trying to run Apache, it does not run. 当我尝试运行Apache时,它无法运行。 It tries to access the port 80 but port 80 is listening by a system process having PID 4. 它尝试访问端口80,但端口80正在通过具有PID 4的系统进程监听。

How I can stop the "system" process? 如何停止“系统”进程?

Windows provides an excellent tool called Resource-Monitor (resmon.exe). Windows提供了一个称为Resource-Monitor(resmon.exe)的出色工具。 On the network tab, it gives you a detailed view of what programs are listening on what ports on you computer. 在网络选项卡上,它为您提供了有关哪些程序正在计算机上的哪些端口上侦听的详细视图。 Just open that tool to find out the program currently listening on port-80 (whether its IIS or something else). 只需打开该工具以找出当前正在监听端口80的程序(无论是IIS还是其他)。 Then all you have to do is end that process and remove it from your startup in case it is sitting there. 然后,您所要做的就是结束该过程,并从启动中删除它(以防万一它坐在那里)。

Port 80 is by default used by IIS. 默认情况下,IIS使用端口80。 If you are running IIS on your machine, then you can stop it as explained here . 如果您在计算机上运行IIS,则可以按照此处的说明将其停止。

Skype也使用端口80,因此您可以关闭Skype并重新加载apache服务器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM