阿帕契錯誤 98

阿帕契錯誤 98

每當我啟動 Apache 時,都會出現此錯誤:

(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down

我在論壇上進行了挖掘,找到了用於查看使用連接埠 80 的所有進程的方法,例如:

lsof -i | grep http

lsof -i | grep :80

然後殺掉他們。由於某些奇怪的原因,當我執行這些檢查時什麼都沒有出現,即使沒有“grep”,我仍然找不到任何東西。我嘗試過重新安裝 apache,包括清除所有檔案。

答案1

調用lsof -i:80您將看到哪些進程使用連接埠 80。

相關內容