80端口被NT kernel&System占用解决方法

第一种方法:

cmd执行

禁用方法:

1、netstat -aon|findstr "80"    查看端口占用进行,PID=4 即kernel&System占用

2、net stop http  停止http服务

3、sc config http= disabled  设置不可用

恢复方法:

1、sc config http start= auto  自动启动

2、net start http 启动http服务

 

第二种方法:

注册表中直接禁用:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP]
"Start"=dword:00000004

"Start" = 3 时启动 4时禁用

posted @ 2020-02-21 08:58  IT小文  阅读(1327)  评论(0编辑  收藏  举报