How to stop VMware port error of 443 on XAMPP Control Panel v3.2.1

PhpApacheXampp

Php Problem Overview


When I run XAMPP Control Panel v3.2.1 I get this error:

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.

Php Solutions


Solution 1 - Php

It's easier to change the port in VMware Workstation:

  1. Edit > Preferences;
  2. Shared VMs tab;
  3. Disable;
  4. Change port;
  5. Enable.

enter image description here

enter image description here

enter image description here

Done.

Solution 2 - Php

Here is the solution step-by-step:

  1. Open up httpd-ssl.conf in path2xampp\apache\conf\extra
  2. Look for the line Listen 443
  3. Change port number to anything you want. I use 4430. ex. Listen 4430.
  4. Replace every 443 string in that file with 4430.
  5. Save the file.
  6. and, Finally restart your apache.
  7. done.

Solution 3 - Php

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.

Solution 4 - Php

Just go to vmvare edit->preferences->shared vms. Click on change settings and disable sharing.click on OK.xampp will work fine.

Solution 5 - Php

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

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.

Solution 6 - Php

Open VMware Workstation > Edit > Prefrences > Shared VMS > Change port 433 > 4330 > save.

Follow the process Showed in the Following video : https://youtu.be/DYj7qIgwV2M

Solution 7 - Php

Here is the solution: You use Ctrl+Alt+Delete, open task manager and switch to tab services find VMWareHostd and right click to chose StopService. You can start xampp without error

Solution 8 - Php

On Xampp edit apache config

  1. Click Apache 'config'
  2. Select 'httpd-ssl.conf'
  3. Look for 'Listen 443', change it to 'Listen 4430'

Solution 9 - Php

Say you let vmware use port 443, and use another ssl port in XAMPP Apache (httpd-ssl.conf) :

The red error will keep popping in XAMPP Control Panel. You also need to change the port in the XAMPP Control Panel configuration :

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.

Solution 10 - Php

If there is no Shared VMs tab, you can edit the config manually.

  1. Go to C:\ProgramData\VMware\hostd, and open proxy.xml with a text editor.

  2. At the top, there should be <httpsPort>443</httpsPort>. Change it to -1.

  3. Kill the process using Powershell:

Stop-Process -Id <PROCESS_ID>

Use the process ID provided in XAMPP's Control Panel's log.

You should be able to start Apache now.

Solution 11 - Php

Run XAMPP Control Panel as Administrator if using Windows 7 or more. Windows may block access to ports if not accessed by adminstrator user.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAlexView Question on Stackoverflow
Solution 1 - Phpzorus40kView Answer on Stackoverflow
Solution 2 - PhpEniGmaView Answer on Stackoverflow
Solution 3 - PhpKrishnadas PCView Answer on Stackoverflow
Solution 4 - PhpRojan SudevView Answer on Stackoverflow
Solution 5 - PhpBayuView Answer on Stackoverflow
Solution 6 - PhpGDhadukView Answer on Stackoverflow
Solution 7 - Phpuser3198763View Answer on Stackoverflow
Solution 8 - PhpmpalenciaView Answer on Stackoverflow
Solution 9 - PhptrogneView Answer on Stackoverflow
Solution 10 - PhpTaromaruYukiView Answer on Stackoverflow
Solution 11 - Phpuser1184294View Answer on Stackoverflow