Page 1 of 1

First time XAMPPer. Problem with port 80 on windows 8

PostPosted: 05. August 2013 18:03
by cyborglizard
Hello,
Just a newbie starting off with PHP and first time installing XAMPP. I get this error:

12:59:46 PM [Apache] Problem detected!
12:59:46 PM [Apache] Port 80 in use by "Unable to open process" with PID 4!
12:59:46 PM [Apache] Apache WILL NOT start without the configured ports free!
12:59:46 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
12:59:46 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port

I changed the settings of my skype so it does not use port 80 and 443. But I still cant get apache to run.

I saw on the forums here you can change the registry or change the ports apache uses.

Is there a better way? I saw some people saying to check what is using port 80 and 443 on windows but I am not sure how to do that in windows 8.

thanks for the help!

Re: First time XAMPPer. Problem with port 80 on windows 8

PostPosted: 05. August 2013 22:38
by hackattack142
Hello,

Generally, finding the blocking application is the way to deal with this error. If, for some reason, you cannot find/change the blocking application then you can change the Apache and XAMPP CP configurations to use a different port. I would not suggest any registry changes.

PID 4 is the System process which typically means that a Windows Service is blocking that port. One common blocker is the World Wide Web Publishing service. It is a component of IIS and can be disabled if you are not using IIS (press the Services button in the XAMPP CP and see if it is in the list).

Re: First time XAMPPer. Problem with port 80 on windows 8

PostPosted: 07. August 2013 18:37
by beebox
You need to Stop all services, Close the XAMPP program and restart the program in Administrator Mode by Right Clicking the XAMPP icon and Run as Administrator.

Re: First time XAMPPer. Problem with port 80 on windows 8

PostPosted: 02. September 2013 15:01
by Kobalt
cyborglizard wrote:I changed the settings of my skype so it does not use port 80 and 443. But I still cant get apache to run.

I saw on the forums here you can change the registry or change the ports apache uses.

Is there a better way? I saw some people saying to check what is using port 80 and 443 on windows but I am not sure how to do that in windows 8.

Hi cyborglizard,
I have solved this problem for me by disabling the service World Wide Web Publishing (http://www.blackviper.com/windows-services/world-wide-web-publishing-service/).
best regards
kobalt