安裝xampp 時 port 80被佔用 解決
阿新 • • 發佈:2019-02-20
xampp 把apache mysql, php, phpmyadmin都integrate在一起, 很好安裝,操作簡單,但是也有弊端。 使用者沒有選項改port 當 知曉80被佔用。
當80 port被佔用,apache是安裝不上的,其實它所有的安裝檔案都放過去了。 本想只想httpd.conf的port配置的。
發現居然這樣做不行。
okay, 沒問題,找其他的方法。
用cmd > netstat -aon | findstr 0.0.:80 enter
發現 PID 4 佔用了80, 這是個system 程序, NT Kernal & System, 不能kill掉它,不然必將藍屏。
查詢 哪些application 會呼叫NT Kernal & system
- IIS is still running.
- SQL Server Reporting Services is running(this was my problem).
- Web Deployment Agent Service is running.
re-install xampp, okay now.
當然除了 以上說的 NT Kernal 會佔用埠,還有skype也會佔用。
done