解決 XAMPP 和 VMWare 端口443沖突問題
今個做開發(fā)用xampp的時候發(fā)現(xiàn)apache不能啟動了,查一下log,發(fā)現(xiàn)端口沖突了
[Apache] Problem detected!
16:32:28 [Apache] Port 443 in use by ""E:Program Files (x86)vmware9vmware-hostd.exe" -u "C:ProgramDataVMwarehostdconfig.xml"" with PID 3468!
16:32:28 [Apache] Apache WILL NOT start without the configured ports free!
16:32:28 [Apache] You need to uninstall/disable/reconfigure the blocking application
16:32:28 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
16:32:28 [Apache] Attempting to start Apache app...
16:32:28 [Apache] Status change detected: running
16:32:30 [Apache] Status change detected: stopped
16:32:30 [Apache] Error: Apache shutdown unexpectedly.
16:32:30 [Apache] This may be due to a blocked port, missing dependencies,
16:32:30 [Apache] improper privileges, a crash, or a shutdown by another method.
16:32:30 [Apache] Press the Logs button to view error logs and check
16:32:30 [Apache] the Windows Event Viewer for more clues
16:32:30 [Apache] If you need more help, copy and post this
16:32:30 [Apache] entire log window on the forums
原來是和vmware的443 端口沖突
解決方法:
1.打開菜單 編輯→參數(shù)(Edit–> Preferences)
2.選擇 共享虛擬機(Shared VMs)
3.點擊 改變位置(Change Setting)
4. 點擊 禁用共享(Disable Sharing)
5.改掉端口數(shù)字如448
6、再次啟用共享就可以了
PS:如果apache的80端口和Windows的IIS也沖突了。解決方法就是更改目錄xamppapacheconf下的httpd.conf文件,用記事本打開,替換里面所有的80為8080.好了,這下xampp的apache就可以正常開啟了!
以上所述是小編給大家介紹的解決 XAMPP 和 VMWare 端口443沖突問題,希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會及時回復(fù)大家的。在此也非常感謝大家對腳本之家網(wǎng)站的支持!
相關(guān)文章
windows 用VMware創(chuàng)建linux虛擬機安裝CentOS7.2操作系統(tǒng)
這篇文章主要介紹了windows 用VMware創(chuàng)建linux虛擬機,并安裝操作系統(tǒng)CentOS7.2,本文圖文并茂給大家介紹的非常詳細,具有一定的參考借鑒價值,需要的朋友可以參考下2019-10-10Vmware + Ubuntu18.04 安裝 Hbase 2.3.5的詳細教程
這篇文章主要介紹了Vmware + Ubuntu18.04 安裝 Hbase 2.3.5的詳細教程,本文通過實例圖文相結(jié)合給大家介紹的非常詳細,對大家的學(xué)習(xí)或工作具有一定的參考借鑒價值,需要的朋友可以參考下2021-04-04VMware的三種網(wǎng)絡(luò)連接方式區(qū)別
本篇文章主要介紹了VMware的三種網(wǎng)絡(luò)連接方式區(qū)別,三種模式分別是NAT,Bridged,Host-Only,有興趣的可以了解一下。2016-11-11VMWare Workation雙網(wǎng)卡配置IP地址的圖文教程
這篇文章主要介紹了VMWare Workation雙網(wǎng)卡配置IP地址的圖文教程的相關(guān)資料2016-12-12VMware安裝CentOS虛擬機與配置網(wǎng)絡(luò)的圖文教程
這篇文章主要介紹了VMware安裝CentOS虛擬機與配置網(wǎng)絡(luò),本文通過圖文并茂的形式給大家介紹的非常詳細,對大家的學(xué)習(xí)或工作具有一定的參考借鑒價值,需要的朋友可以參考下2020-11-11VMware安裝centos8無法連接外網(wǎng)的處理全過程
這篇文章主要介紹了VMware安裝centos8無法連接外網(wǎng)的處理全過程,具有很好的參考價值,希望對大家有所幫助,如有錯誤或未考慮完全的地方,望不吝賜教2024-01-01教你在VMware中安裝Windows11操作系統(tǒng)的保姆級教程
大家都知道Windows 11是由微軟公司(Microsoft)開發(fā)的操作系統(tǒng),應(yīng)用于計算機和平板電腦等設(shè)備,本文給大家分享在VMware中安裝Windows11操作系統(tǒng)的保姆級教程,需要的朋友可以參考下2022-04-04