解决 XAMPP 和 VMWare 端口443冲突问题

(编辑:jimmy 日期: 2025/2/27 浏览:2)

今个做开发用xampp的时候发现apache不能启动了,查一下log,发现端口冲突了

[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.打开菜单 编辑→参数(Edit–> Preferences)

2.选择 共享虚拟机(Shared VMs)

3.点击 改变位置(Change Setting)

4. 点击 禁用共享(Disable Sharing)

5.改掉端口数字如448

6、再次启用共享就可以了

解决 XAMPP 和 VMWare 端口443冲突问题

PS:如果apache的80端口和Windows的IIS也冲突了。解决方法就是更改目录xamppapacheconf下的httpd.conf文件,用记事本打开,替换里面所有的80为8080.好了,这下xampp的apache就可以正常开启了!

以上所述是小编给大家介绍的解决 XAMPP 和 VMWare 端口443冲突问题,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对网站的支持!

一句话新闻
高通与谷歌联手!首款骁龙PC优化Chrome浏览器发布
高通和谷歌日前宣布,推出首次面向搭载骁龙的Windows PC的优化版Chrome浏览器。
在对骁龙X Elite参考设计的初步测试中,全新的Chrome浏览器在Speedometer 2.1基准测试中实现了显著的性能提升。
预计在2024年年中之前,搭载骁龙X Elite计算平台的PC将面世。该浏览器的提前问世,有助于骁龙PC问世就获得满血表现。
谷歌高级副总裁Hiroshi Lockheimer表示,此次与高通的合作将有助于确保Chrome用户在当前ARM兼容的PC上获得最佳的浏览体验。