httpd.exe: Could not reliably determine the server's fully qualified domain name

windows xp下安装apache http时出现该错误. 


到网上找了下解决是:

1. 在命令行下输入:

netstat -aon | find "80"

到结果:

  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       552

  TCP    10.0.43.50:7269        118.186.66.51:80       ESTABLISHED     900

2. 可以看出, 被pid为552的进程占用了

扫描二维码关注公众号,回复: 670819 查看本文章

用户 tasklist|findstr "552" 或直接tasklist查看进程

看到的是 inetinfo.exe占用了该端口, 该进程实际是IIS服务. 将它关掉即可. 



猜你喜欢

转载自lintghi.iteye.com/blog/1673845
今日推荐