端口端口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.

10gbiz七月活动首月半价$2.36/月: 香港/洛杉矶CN2 GIA VPS

10gbiz怎么样?10gbiz 美国万兆带宽供应商,主打美国直连大带宽,真实硬防。除美国外还提供线路非常优质的香港、日本等数据中心可供选择,全部机房均支持增加独立硬防。洛杉矶特色线路去程三网直连(电信、联通、移动)回程CN2 GIA优化,全天低延迟。中国大陆访问质量优秀,最多可增加至600G硬防。香港七星级网络,去程回程均为电信CN2 GIA+联通+移动,大陆访问相较其他香港GIA线路平均速度更...

轻云互联-618钜惠秒杀,香港CN2大宽带KVM架构云服务器月付22元,美国圣何塞精品云月付19元爆款!海量产品好货超值促销进行中!

官方网站:点击访问青云互联活动官网优惠码:终身88折扣优惠码:WN789-2021香港测试IP:154.196.254美国测试IP:243.164.1活动方案:用户购买任意全区域云服务器月付以上享受免费更换IP服务;限美国区域云服务器凡是购买均可以提交工单定制天机防火墙高防御保护端口以及保护模式;香港区域购买季度、半年付、年付周期均可免费申请额外1IP;使用优惠码购买后续费周期终身同活动价,价格不...

onevps:新增(支付宝+中文网站),香港/新加坡/日本等9机房,1Gbps带宽,不限流量,仅需$4/月

onevps最新消息,为了更好服务中国区用户:1、网站支付方式新增了支付宝,即将增加微信;原信用卡、PayPal方式不变;(2)可以切换简体中文版网站,在网站顶部右上角找到那个米字旗,下拉可以换中国简体版本。VPS可选机房有:中国(香港)、新加坡、日本(东京)、美国(纽约、洛杉矶)、英国(伦敦)、荷兰(阿姆斯特丹)、瑞士(苏黎世)、德国(法兰克福)、澳大利亚(悉尼)。不管你的客户在亚太区域、美洲区...

80端口被占用为你推荐
2g内存价格电脑2G内存条多少钱?ps软件哪个好PS哪一款软件比较好用呢无纺布和熔喷布口罩哪个好活性碳口罩和无纺布口罩有什么不同?qq空间登录电脑怎么用电脑登陆手机版QQ空间qq网盘在哪里qq网盘在哪里dns服务器故障DNS服务异常是什么意思dns服务器故障dns服务器异常怎么办dns服务器故障电脑dns服务器发生故障怎么解决360云盘360云盘和百度云网盘哪个好360云盘同步版360云盘和360云盘同步版有什么区别?哪个更好用?
in域名注册 香港服务器租用 美国加州vps 中国万网域名 plesk 日本空间 一元域名 三拼域名 ca4249 京东商城0元抢购 有奖调查 韩国名字大全 服务器干什么用的 服务器监测 网站在线扫描 阿里dns 美国vpn代理 apache启动失败 饭桶 qq空间论坛 更多