win8下系統(tǒng)默認(rèn)占用80端口,導(dǎo)致apache無法打開,下面是具體的解決方法:首先以管理員權(quán)限運(yùn)行c:windowssystem32cmd.exe.....感興趣的朋友可以參考下哈,希望對大家有所幫助
win8下系統(tǒng)默認(rèn)占用80端口,導(dǎo)致apache無法打開。
以管理員權(quán)限運(yùn)行c:windowssystem32cmd.exe
C:WINDOWSsystem32>net stop http
HTTP Service 服務(wù)已成功停止。
C:WINDOWSsystem32>netstat -ano | findstr 0.0.0.0:80
C:WINDOWSsystem32>sc config http start=disabled
[SC] ChangeServiceConfig 成功
打開注冊表:win+r鍵 輸入regedit
找到:HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesHTTP
在右邊找到Start這一項(xiàng),將其改為0
重啟系統(tǒng),System進(jìn)程將不會再占用80端口