Windows 8 系統服務 HTTP Service 預設佔用 80 埠,導致 Apache 無法綁定埠口啟動失效。
net stop http
netstat -ano | findstr 0.0.0.0:80
無輸出即代表釋放成功。
sc config http start=disabled
regedit),定位至:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP
Start 值為 0 (停用)。注意:停用 HTTP 服務可能影響依賴該服務的其他應用 (如 IIS、某些 VPN 用戶端),請視環境評估影響。