80端口被占用

简介: 启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name[root@server httpd-2.

启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name
[root@server httpd-2.2.4]# /usr/local/apache/bin/apachectl start
 
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

 

查看端口被谁占用了 netstat -pan | grep 80   然后删除占用端口的进程   kill 端口号    最后重启一下就KO了!

 

 

默认的访问根目录在/var/www/html下面

目录
相关文章
|
17天前
杀死本地80端口被占用的进程,还你一片宁静乐土
杀死本地80端口被占用的进程,还你一片宁静乐土
|
9月前
如何查看端口号是否被占用
查看端口号是否被占用
283 0
|
3月前
【已解决】Win10端口被占用
总是在启动项目的时候失败,被告知端口号被占用,明明没有被占用(可能是系统卡了或者其它问题),但是又不想改端口号,或者重启电脑,那怎么办呢?
103 1
|
5月前
|
网络协议 安全 Unix
6种查看Linux进程占用端口号的方法
6种查看Linux进程占用端口号的方法
391 0
|
7月前
端口号占用查找及关闭
端口号占用查找及关闭
44 0
|
网络协议 Windows
进来教你如何解决端口被占用问题
进来教你如何解决端口被占用问题
970 0
进来教你如何解决端口被占用问题
|
应用服务中间件
关于本地8080端口被占用的解决方案
1.直接修改服务器端口号 2.杀掉占用该端口的服务器进程(两种方式)     (1)任务管理器直接找到tomcat服务结束进程     (2)管理员身份打开cmd命令(Windows+R快捷键)             1.打开后直接输入:netstat -ano|findstr 8080(此处为被占用端口号)命令找到找到该进程。
5010 0