apache 启动httpd.exe 报错 Could not reliably determine the server's fully qualified
来源:互联网 发布:ug编程培训 编辑:程序博客网 时间:2024/05/01 18:22
Apache 启动报错
前言:apache虽然能运行,但是看见error.log中有httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168. x. x for ServerName这个错误,想看看是否有其他占用了80端口
开始--运行--cmd 进入命令提示符 输入netstat -ano 即可看到所有连接的PID 之后在任务管理器中找到这个PID所对应的程序如果任务管理器中没有PID这一项,可以在任务管理器中选"查看"-"选择列"
经常,我们在启动应用的时候发现系统需要的端口被别的程序占用,如何知道谁占有了我们需要的端口,很多人都比较头疼,下面就介绍一种非常简单的方法,希望对大家有用
假如我们需要确定谁占用了我们的80端口
1、Windows平台
在windows命令行窗口下执行:
C:\>netstat -aon|findstr "80"
TCP 127.0.0.1:80 0.0.0.0:0 LISTENING 2448
看到了吗,端口被进程号为2448的进程占用,继续执行下面命令:
C:\>tasklist|findstr "2448"
thread.exe 2016 Console 0 16,064 K
很清楚吧,thread占用了你的端口,Kill it
如果第二步查不到,那就开任务管理器,看哪个进程是2448,然后杀之即可。
如果需要查看其他端口。把 80 改掉即可
补充:原来出现这个错误原因(httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.111 for ServerName)是因为DNS没配置好. 如果不想配置DNS, 就在httpd.conf , 在最前加入 ServerName localhost:80 即可
另外:
External firewall has nothing to do with could not bind to address 0.0.0.0:8080. You may read Programs that may causes apache not running.And tried a different port yet.
- apache 启动httpd.exe 报错 Could not reliably determine the server's fully qualified
- apache 启动httpd.exe 报错 Could not reliably determine the server's fully qualified
- apache无法启动starting httpd: httpd:could not reliably determine the server\'s fully qualified
- Apache启动"httpd: Could not reliably determine the server's fully qualified domain name, using 127.0."
- 启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name
- 启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name
- 启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name
- 启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name
- 启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name
- Apache启动时报错Could not reliably determine the server's fully qualified domain name
- Linux Apache httpd: Could not reliably determine the server's fully qualified domain name
- Apache问题解决:httpd: Could not reliably determine the server's fully qualified domain name
- Apache问题解决:httpd: Could not reliably determine the server's fully qualified domain name
- Apache之AH00558: httpd: Could not reliably determine the server's fully qualified domain name
- 启动httpd时,Could not reliably determine the server's fully qualified domain name
- 解决Linux报错:httpd: Could not reliably determine the server's fully qualified domain name, using localh
- 解决apache启动错误:Could not reliably determine the server's fully qualified domain name
- 解决apache启动错误:Could not reliably determine the server's fully qualified domain name
- Git学习教程(五):Git标签
- Git学习教程(六)Git日志
- Tomcat源码8
- 设置bash终端提示符(PS1)
- TCP&IP协议: TCP&IP协议族相关的RFC文档资料及源码
- apache 启动httpd.exe 报错 Could not reliably determine the server's fully qualified
- Git学习教程(七) Git差异比对
- HDU 4221 Greedy?(贪心)
- c# 提取HTML中所有图片URL
- MAMP for mac OS 帮助建立一个 server以及database
- 函数体中打印日志信息自动附加函数名字的一种实现办法
- Git 简明教程
- sqlite中按日期合并行的解决办法
- 从10亿个浮点数中找出最大的1万个