原文:linux 下apche无法监听端口解决办法(Permission denied: make_sock: could not bind to address)

想建立一个测试用的虚拟主机,遇到了这个问题: root localhost html service httpd startStarting httpd: httpd: Could not reliably determine the server s fully qualified domain name, using localhost.termwikidev for ServerName P ...

2017-12-12 11:18 0 5679 推荐指数:

查看详情

(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80

问题说明80端口被占用,用netstat -nlp |grep :80命令看看有什么进程占用了80端口,发现是httpd进程。 没想到安装了两个apache,我安装apache2.4的时候删除了2.2的apache啊, 可能是安装php memcache扩展的时候莫名其妙的安装了上了 ...

Wed Jun 14 20:44:00 CST 2017 0 2104
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM