本帖最后由 新手781833 于 2020-5-3 21:00 编辑
故障报错信息: 电脑既安装了VMware虚拟机软件,又安装了XAMPP,启动XAMPP的时候,经常会报如下错误:
Problemdetected!
[Apache] Port 443 in use by""D:\Program Files (x86)\vmware8\vmware-hostd.exe" -u"C:\ProgramData\VMware\hostd\config.xml"" with PID 3036!
[Apache] Apache WILL NOT start without theconfigured ports free!
[Apache] Youneed to uninstall/disable/reconfigure the blocking application or reconfigureApache and the Control Panel to listen on a different port
故障分析: 443号端口被vmware-hostd.exe进程占用了,导致Apache无法启动。这是因为vmware-hostd.exe默认是使用443号端口的,而它又是默认自动启动的。
Apache 的 httpd 服务默认是使用80端口的,而 httpd-ssl 默认是使用443端口的。这就导致了443号端口的冲突。
解决方案:
方案一:修改 httpd-ssl.conf 配置文件,将443端口改为其他空闲的端口(如4430)。 方案二:将 vmware-hostd.exe 的自动启动改为手动启动并将其停止。在桌面的计算机图标点击鼠标右键,选择“管理→服务和应用程序→服务”,将显示名称为“VMware Workstation Server”的服务的启动类型改为手动,并停止该服务即可 |