原文: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