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

Bonnie ·
更新时间:2024-09-21
· 724 次阅读

今个做开发用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、再次启用共享就可以了

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

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

您可能感兴趣的文章:vmware克隆Centos6.4虚拟机网卡无法启动问题的解决方法解决VMware仅主机模式虚拟机无法ping通物理机问题详解VMware 当中出现:无法将 Ethernet0 连接到虚拟网络"VMnet8"的问题VMware12和CentOS7共享文件夹问题解析VMware“该虚拟机似乎正在使用中”问题解决方案VMware View虚拟桌面“黑屏”解决方案



VMware xampp

需要 登录 后方可回复, 如果你还没有账号请 注册新账号