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

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.


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.


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.