天天看點

Apache啟動報錯Port 80 in use by "Unable to open process" with PID 4 的解決辦法.

今天打開Apache的時候報錯:

22:15:30  [Apache]   Problem detected!

22:15:30  [Apache] Port 80 in use by "Unable to open process" with PID 4!

22:15:30  [Apache] Apache WILL NOT start without the configured ports free!

22:15:30  [Apache] You need to uninstall/disable/reconfigure the blocking application

22:15:30  [Apache] or reconfigure Apache and the Control Panel to listen on a different port

是系統的服務占用了80端口,是以要麼結束系統服務,要麼修改apache端口。

可能占用80端口的服務有:

1."SQL Server Reporting Service(MSSQLSERVER)"

2.World Wide Web Publishing Service

這裡選擇結束這個系統服務,運作services.msc,找到然後停止即可。防止下次開機再出現這種情況,在屬性裡可設定成手動啟動。