第一种方法:cmd
cmd执行it
禁用方法:io
一、netstat -aon|findstr "80" 查看端口占用进行,PID=4 即kernel&System占用service
二、net stop http 中止http服务方法
三、sc config http= disabled 设置不可用top
恢复方法:word
一、sc config http start= auto 自动启动端口
二、net start http 启动http服务di
第二种方法:vi
注册表中直接禁用:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP]
"Start"=dword:00000004
"Start" = 3 时启动 4时禁用