Apache (XAMPP) cannot start – Port 80 Busy

apache-2.2xampp

I cannot start apache on xampp, it says Busy...

I have googled this many times and I have tried the following solutions:

  1. Skype no longer uses port 80/443
  2. Teamviewer no longer uses port 80/443
  3. Adding the NoRun key to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP (Solution found here)

But none of these work, when I visit localhost on a browser it will load but just give a blank page, even thought apache isn't started.

I have also run netstat -ano on command prompt, I get the following entries using port 80:

TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4 and
TCP [::]:80 [::]:0 LISTENING 4

Both are being used by PID 4 which is System when I look it up in task manager.

I have also googled around and seen that this may be caused by VMWare which I have installed but I cannot seem to find a solution for this, can anyone help me with this please. If you need more information then please comment and I will add it.

EDIT:

After running the beta control panel, I get the following in the logs:

12:57:41 [apache] Possible problem detected: Port 80 in use by "system"!
12:57:41 [apache] Possible problem detected: Port 443 in use by "vmware-hostd.exe"!

Best Answer

In VMware go:

Edit < Preferences < Shared VMs

and Disable Sharing (or change the ports if you need the functionality)

Related Topic