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

inux国外美老牌PhotonVPS月$2.5 ,Linux系统首月半价

PhotonVPS 服务商我们是不是已经很久没有见过?曾经也是相当的火爆的,我们中文习惯称作为饭桶VPS主机商。翻看之前的文章,在2015年之前也有较多商家的活动分享的,这几年由于服务商太多,乃至于有一些老牌的服务商都逐渐淡忘。这不有看到PhotonVPS商家发布促销活动。PhotonVPS 商家七月份推出首月半价Linux系统VPS主机,首月低至2.5美元,有洛杉矶、达拉斯、阿什本机房,除提供普...

Linode 18周年庆典活动 不断改进产品结构和体验

今天早上相比很多网友和一样收到来自Linode的庆祝18周年的邮件信息。和往年一样,他们会回顾在过去一年中的成绩,以及在未来准备改进的地方。虽然目前Linode商家没有提供以前JP1优化线路的机房,但是人家一直跟随自己的脚步在走,确实在云服务器市场上有自己的立足之地。我们看看过去一年中Linode的成就:第一、承诺投入 100,000 美元来帮助具有社会意识的非营利组织,促进有价值的革新。第二、发...

vpsdime:VPS内存/2核/VPS,4G内存/2核/50gSSD/2T流量/达拉斯机房达拉斯机房,新产品系列-Windows VPS

vpsdime上了新产品系列-Windows VPS,配置依旧很高但是价格依旧是走低端线路。或许vpsdime的母公司Nodisto IT想把核心产品集中到vpsdime上吧,当然这只是站长个人的猜测,毕竟winity.io也是专业卖Windows vps的,而且也是他们自己的品牌。vpsdime是一家新上来不久的奇葩VPS提供商,实际是和backupspy以及crowncloud等都是同一家公司...

80端口被占用为你推荐
手机内存卡数据恢复软件免费下载谁有好的手机储存卡恢复软件在手机上就能使用的名侦探柯南644名侦探柯南1~674集哪集很色免费阅读小说app哪个好有什么免费读小说的软件?轿车和suv哪个好轿车和SUV 的驾驶视野,那个比较好!!播放器哪个好播放器哪个好用百度空间登录怎么登录百度空间牡丹江教育云空间登录牡丹江教育云平台学生注册错了怎么办?qq空间登录网址如何查询QQ空间登入地址?电信10000宽带测速怎样测试电信宽带的网速? 771212东莞电信宽带东莞电信宽带资费怎样?
百度域名 宿迁服务器租用 工信部域名备案 ipage a2hosting 星星海 账号泄露 typecho 私有云存储 商家促销 php空间申请 天互数据 免费防火墙 空间技术网 双线机房 双线asp空间 太原联通测速 net空间 建站技术 websitepanel 更多