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
是系統(tǒng)的服務(wù)占用了80端口,所以要么結(jié)束系統(tǒng)服務(wù),要么修改apache端口。
可能占用80端口的服務(wù)有:
1."SQL Server Reporting Service(MSSQLSERVER)"
2.World Wide Web Publishing Service
這里選擇結(jié)束這個系統(tǒng)服務(wù),運行services.msc,找到然后停止即可。防止下次開機再出現(xiàn)這種情況,在屬性里可設(shè)置成手動啟動。