Gestern war es gut, aber heute geht es nicht los.
Der Testport ist
Your port 80 is not actually used.
學習是最好的投資!
linux下 查看80端口占用情況netstat –anp | grep 80
然后根據(jù)顯示的內(nèi)容,查看占用80端口的進程號
例如:tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1253/unknow
這里1253就是pid/進程號。
讓我們kill掉他:kill -s 9 1253
然后再啟動你的apache 試試看。
windows 查看80端口占用
召喚出任務(wù)管理器:
將PID的勾勾打上
進入cmd, 輸入netstat -ano | findstr "80"
這里3740 就是占用80的進程號,然后在任務(wù)管理器中找到對應(yīng)的進程,抹殺?(×?×)?
再啟動apache 試試。