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

半月湾hmbcloud升级500Mbps带宽,原生VPS,$4.99/月

关于半月湾HMBCloud商家之前也有几篇那文章介绍过这个商家的产品,对于他们家的其他产品我都没有多加留意,而是对他们家的DC5机房很多人还是比较喜欢的,这个比我们有些比较熟悉的某商家DC6 DC9机房限时,而且半月湾HMBCloud商家是相对便宜的。关于半月湾DC5机房的方案选择和介绍:1、半月湾三网洛杉矶DC5 CN2 GIA同款DC6 DC9 1G内存 1TB流量 月$4.992、亲测选择半...

香港 1核1G 29元/月 美国1核 2G 36元/月 快云科技

快云科技: 11.11钜惠 美国云机2H5G年付148仅有40台,云服务器全场7折,香港云服务器年付388仅不到五折 公司介绍:快云科技是成立于2020年的新进主机商,持有IDC/ICP/ISP等证件资质齐全主营产品有:香港弹性云服务器,美国vps和日本vps,香港物理机,国内高防物理机以及美国日本高防物理机官网地址:www.345idc.com活动截止日期为2021年11月13日此次促销活动提供...

pigyun25元/月,香港云服务器仅起;韩国云服务器,美国CUVIP

pigyun怎么样?PIGYun成立于2019年,2021是PIGYun为用户提供稳定服务的第三年,期待我们携手共进、互利共赢。PIGYun为您提供:香港CN2线路、韩国CN2线路、美西CUVIP-9929线路优质IaaS服务。月付另有通用循环优惠码:PIGYun,获取8折循环优惠(永久有效)。目前,PIGYun提供的香港cn2云服务器仅29元/月起;韩国cn2云服务器仅22元/月起;美国CUVI...

80端口被占用为你推荐
美团月付怎么关闭商家退出美团怎么退骁龙765g和骁龙865哪个好骁龙865八核2.84H和骁龙855plus八核2.96GHZ那个好了?免费阅读小说app哪个好有什么免费读小说的软件?帕萨特和迈腾哪个好迈腾与帕萨特那个好?苹果手机助手哪个好iphone手机助手哪个好用?手机炒股软件哪个好什么手机炒股软件好用,你们都用哪个红茶和绿茶哪个好红茶和绿茶哪个好?雅思和托福哪个好考托福好考还是雅思好考?电动牙刷哪个好有人懂电动牙刷吗?飞利浦的好用还是欧乐B好用360云盘共享群360云盘怎么找共享群
美国虚拟空间 个人域名备案 hostmonster seovip win8.1企业版升级win10 免费个人网站申请 cdn联盟 东莞数据中心 卡巴斯基免费试用 netvigator 第八届中美互联网论坛 ncp ipower asp介绍 rsync 网络安装 dbank 香港云主机 元旦促销方案 自住商品房申请网站 更多