端口端口80被NTkernelsystem占用

80端口被占用  时间:2021-01-25  阅读:()

前段时间停止了Apa che结果在打开的时候发现无法打开 80端口被占用于是win+r运行cmd

输入net stat -ano

可以看到80端口被PID4占用于是打开任务管理器-进程-查看选择列勾选PID

可以看到p id 4的被NT kerne l& System占用

在网上找了很久找到解决方案

-it-impos sible-to-insta ll-apach e-solut ion/comme nt-page-1/#comme nts

原文

翻译如下

该进程是H ttp. sys。它是http API的驱动组件 Http栈服务器。如果该端口被Http.sys占用说明一些正在使用ht tp. sys的应用程序在运行。这就是阻止Apach e运行的原因因为Htt p.sys占用着80端口。我们提供了一种应用程序的机制来帮助控制端口共享但是我需要调查导致你遇到这种困难的是什么特殊应用程序。如果你能提供给我们“netshhttp show servi cestate”这条命令的输出结果我就能找出是哪个应用程序在使用Http. sys。在你禁用H ttp. sys之前请按照下面的步骤来运行命令

1. scconfi ghttp stat = demand

2. reboo t

3. run the comma nd(netsh http show servi cestat)as admin istra tor

在你使用这个命令之前你可以按照下面步骤禁用http.sys

1. net stop http

2. Scconfi g http start=disab led

于是运行net stop http

按y确定

在运行Scconfi g http start=disab led

好了现在启动A pache可以启动了 。

在查看一下netst at -ano

发现pid 4占用了445端口

I work on Http.sys technology atMicrosoft and somebody sent me a l inkto this blog. I ama bitsurprised bythis behavioryou are seeing on Windows7 Beta and with some helpfrom you, I wi l l l ike to find out the root causeof this issue so thatwe can take theappropriate action if needed.

You are right,Http.sys uses port 80. It is the driver component for httpapi , the server httpstack(You can find more info on this technologyathttp://msdn.microsoft.com/en-us/l ibrary/aa364434(VS.85).aspx). In your case,someappl ication is running which is using http.sys to l isten on port80.This is preventingApache from using port80.We offera mechanism for appl ications to help control portsharing but I’ l l need to look into the specific appl ication that’s causing you this conflict. Ifyou can give us the output of fol lowing command“netsh http showservicestate”, then itwi l l al low me to find outwhich appl ication is using http.sys.Sinceyou have disabledhttp.sys, please fol lowthese steps l isted below before running the command:

1 .scconfig http start=demand

2.Re boot

3.Run the command(netsh http show servicestate)as administrator

After you have run this command,you can disable http.sys as fol lows:

1 . net stop http

2.Scconfig http start=disabled

Please let me knowif you face any issues in the process.

Vultr新用户省钱福利,最新可用优惠码/优惠券更新

如今我们无论线上还是线下选择商品的时候是不是习惯问问是不是有优惠活动,如果有的话会加速购买欲望。同样的,如果我们有准备选择Vultr商家云服务器的时候,也会问问是不是有Vultr优惠码或者优惠券这类。确实,目前Vultr商家有一些时候会有针对新注册用户赠送一定的优惠券活动。那就定期抽点时间在这篇文章中专门整理最新可用Vultr优惠码和商家促销活动。不过需要令我们老用户失望的,至少近五年我们看到Vu...

织梦DEDECMS即将授权收费和维权模式 站长应对的几个方法

这两天在站长群里看到不少有使用DEDECMS织梦程序的朋友比较着急,因为前两天有看到来自DEDECMS,我们熟悉的织梦程序官方发布的公告,将会在10月25日开始全面商业用途的使用DEDECMS内容管理程序的会采用授权收费模式,如果我们有在个人或者企业商业用途的,需要联系且得到授权才可以使用,否则后面会通过维权的方式。对于这个事情,我们可能有些站长经历过,比如字体、图片的版权。以及有一些国内的CMS...

wordpress专业外贸建站主题 WordPress专业外贸企业网站搭建模版

WordPress专业外贸企业网站搭建模版,特色专业外贸企业风格 + 自适应网站开发设计 通用流行的外贸企业网站模块 + 更好的SEO搜索优化和收录 自定义多模块的产品展示功能 + 高效实用的后台自定义模块设置!采用标准的HTML5+CSS3语言开发,兼容当下的各种主流浏览器: IE 6+(以及类似360、遨游等基于IE内核的)、Firefox、Google Chrome、Safari、Opera...

80端口被占用为你推荐
美团月付怎么关闭美团月账单消费记录怎撤除啊?月付百万的女人们我们家的女人们110集优酷 我们家的女人们第110集中文字幕 韩剧我们家的...燃气热水器和电热水器哪个好燃气热水器与电热水器的优缺点?985和211哪个好985和211哪个强?具体分析点。浮动利率和固定利率哪个好房贷利率是固定的还是浮动的好?录音软件哪个好什么录音软件最好用核芯显卡与独立显卡哪个好核芯显卡和独立显卡有什么区别?最好的是哪个?网校哪个好哪个网校比较好?扣扣空间登录如何设置QQ空间快速登陆网页qq空间登录为什么我用网页登录QQ空间时,没有登录界面,直接进去一个QQ空间,请问是怎么回事?
国外vps租用 金万维动态域名 buyvm 好看的留言 京东云擎 云鼎网络 铁通流量查询 e蜗 圣诞促销 炎黄盛世 双十一秒杀 免费dns解析 免费网页申请 smtp虚拟服务器 阿里云官方网站 全能空间 php服务器 宿迁服务器 97rb umax 更多