原因是win8下系统默认占用80端口,导致apache无法打开。
解决方法:

1.以管理员权限运行c:windowssystem32cmd.exe ;
2.C:WINDOWSsystem32>net stop http ;
3.HTTP Service 服务已成功停止;
4.C:WINDOWSsystem32>netstat -ano | findstr 0.0.0.0:80 ;
5.C:WINDOWSsystem32>sc config http start=disabled ;
6.[SC] ChangeServiceConfig 成功 ;
7.打开注册表:win+r键 输入regedit ;
8.找到:HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesHTTP;
9.在右边找到Start这一项,将其改为0 ;
10.重启系统,System进程将不会再占用80端口。

相关文章:

  • 2022-12-23
  • 2021-04-08
  • 2021-12-21
  • 2022-01-20
猜你喜欢
  • 2021-09-12
  • 2022-12-23
  • 2021-11-25
  • 2021-07-24
  • 2021-06-26
  • 2021-05-21
  • 2021-10-22
相关资源
相似解决方案