php 如何在 XAMPP 控制面板 v3.2.1 上停止 443 的 VMware 端口错误
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/21182512/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to stop VMware port error of 443 on XAMPP Control Panel v3.2.1
提问by Alex
When I run XAMPP Control Panel v3.2.1 I get this error:
当我运行 XAMPP 控制面板 v3.2.1 时,出现此错误:
07:37:24 [Apache] Problem detected!
07:37:24 [Apache] Port 443 in use by ""C:\Program Files (x86)\VMware\VMware Workstation\vmware-hostd.exe" -u "C:\ProgramData\VMware\hostd\config.xml"" with PID 2148!
07:37:24 [Apache] Apache WILL NOT start without the configured ports free!
07:37:24 [Apache] You need to uninstall/disable/reconfigure the blocking application
07:37:24 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
I could not fix it myself. Getting help soon will be thankful.
我自己无法修复它。尽快获得帮助将不胜感激。
回答by zorus40k
回答by EniGma
Here is the solution step-by-step:
以下是分步解决方案:
- Open up
httpd-ssl.confinpath2xampp\apache\conf\extra - Look for the line
Listen 443 - Change port number to anything you want. I use
4430. ex.Listen 4430. - Replace every
443string in that file with4430. - Save the file.
- 打开
httpd-ssl.conf在path2xampp\apache\conf\extra - 寻找线
Listen 443 - 将端口号更改为您想要的任何内容。我用
4430. 前任。Listen 4430. 443将该文件中的每个字符串替换为4430.- 保存文件。
回答by Krishnadas PC
Run vmware as administrator in windows or as root in linux. Then ctrl+P to open preferences. then on shared vms. You can see a port number 443 by default. This is conflicting with apache that is why it is not starting. Change it to some other value say 8443. Then try to start apache it will run.
在 windows 中以管理员身份运行 vmware,在 linux 中以 root 身份运行。然后ctrl+P打开首选项。然后在共享虚拟机上。默认情况下,您可以看到端口号 443。这与 apache 冲突,这就是它没有启动的原因。将其更改为其他值,例如 8443。然后尝试启动它会运行的 apache。
回答by Rojan Sudev
Just go to vmvare edit->preferences->shared vms. Click on change settings and disable sharing.click on OK.xampp will work fine.
只需转到 vmvare edit->preferences->shared vms。单击更改设置并禁用共享。单击 OK.xampp 将正常工作。
回答by Bayu
Connecting to shared virtual machines
连接到共享虚拟机
Connection to VMware Workstation Server (the shared virtual machines) is administered by the VMware Host Agent service. The service uses TCP ports 80 and 443. This service is also used by other VMware products, including VMware Server and vSphere, and provides additional capabilities. Configuring shared virtual machines
与 VMware Workstation Server(共享虚拟机)的连接由 VMware Host Agent 服务管理。该服务使用 TCP 端口 80 和 443。其他 VMware 产品(包括 VMware Server 和 vSphere)也使用该服务,并提供其他功能。配置共享虚拟机
With the Shared VMs Workstation preferences, you can disable/enable the server, assign a different port for connecting, and change the Shared VMs directory.
使用共享虚拟机工作站首选项,您可以禁用/启用服务器、分配不同的连接端口以及更改共享虚拟机目录。
To access the Shared VMs Workstation preferences:
要访问共享虚拟机工作站首选项:
Go to Edit > Preferences.
Click the Shared VMs tab.
回答by mpalencia
On Xampp edit apache config
在 Xampp 上编辑 apache 配置
- Click Apache 'config'
- Select 'httpd-ssl.conf'
- Look for 'Listen 443', change it to 'Listen 4430'
- 单击Apache“配置”
- 选择“httpd-ssl.conf”
- 查找“听 443”,将其更改为“听 4430”
回答by trogne
Say you let vmware use port 443, and use another ssl port in XAMPP Apache (httpd-ssl.conf) :
假设您让 vmware 使用端口 443,并在 XAMPP Apache (httpd-ssl.conf) 中使用另一个 ssl 端口:
The red error will keep popping in XAMPP Control Panel. You also need to change the port in the XAMPP Control Panel configuration :
XAMPP 控制面板中会不断出现红色错误。您还需要更改 XAMPP 控制面板配置中的端口:
In XAMPP Control Panel, click the "Config" button (top-left). Then click "Service and Port Settings". There you can set the ports to match the ports used by Apache.
在 XAMPP 控制面板中,单击“配置”按钮(左上角)。然后点击“服务和端口设置”。您可以在那里设置端口以匹配 Apache 使用的端口。
回答by GDhaduk
Open VMware Workstation > Edit > Prefrences > Shared VMS > Change port 433 > 4330 > save.
打开 VMware Workstation > 编辑 > 首选项 > 共享 VMS > 更改端口 433 > 4330 > 保存。
Follow the process Showed in the Following video : https://youtu.be/DYj7qIgwV2M
按照以下视频中显示的流程进行操作:https: //youtu.be/DYj7qIgwV2M
回答by user3198763
Here is the solution: You use Ctrl+Alt+Delete, open task managerand switch to tab servicesfind VMWareHostd and right click to chose StopService. You can start xampp without error
这是解决方案:您使用 Ctrl+Alt+Delete,打开任务管理器并切换到选项卡服务,找到 VMWareHostd 并右键单击以选择StopService。您可以毫无错误地启动 xampp
回答by user1184294
Run XAMPP Control Panel as Administrator if using Windows 7 or more. Windows may block access to ports if not accessed by adminstrator user.
如果使用 Windows 7 或更高版本,请以管理员身份运行 XAMPP 控制面板。如果管理员用户未访问,Windows 可能会阻止对端口的访问。


