Run Xamp or Wamp on Windows 8.1 by Disabling port 80 PID: 4

Yes the first thing you would say that "Are you using windows?" and the answer is yes I do use windows 8.1 and I am not ashamed of it. I have some convincing reasons to use Windows which I am listing below.

  • I use Corel Draw
  • I really want google drive to sync files on my machine. There is no good free linux alternative for that
  • I use MS Office a lot, especially Excel
  • My new laptop has UEFI boot and I can't install fedora on it, I tried and it didn't work
  • I provide trainings on Drupal and JIRA. In my experience in such cases using a Windows based machine is always better, because in most companies people use Windows for their work and people can easily follow me during the training

BTW I still work on fedora which is installed on my netbook, which I carry with me all the time, taking notes, doing light weight work while I am meeting clients and traveling. At home I have latest Dec 2012 model iMac which I use for video editing mostly.

So my primary machine these days for major work is HP Laptop running on Windows 8.1. Just recently I have taken up development activities in my company and for that I need Wampserver or XAMP running on my computer but I realized that port 80 is blocked. The obvious thing I did was to change the Skype port which uses port 80 by default but that didn't solve the issue. So I searched on the internet and found one thread on and that worked for me.

1. Search for the processes that are using port 80 using the following command.

  1. netstat -nao | find ":80"

2. Then disable HTTP.sys driver by modifying registry values. Follow the steps below.

  • Launch RegEdit.
  • Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP
  • Change the value of "start" to 4, which means disabled.
  • Reboot your computer.

That's it.

It really solved my issue. Now I can use port 80, yeah! I could have changed the port in Apache configuration but that is not the geek's way to solve issues. The root cause need to be solved.

This solution worked for me and making changes in the windows registry is not recommened, as it may do some unwanted damage to the system. So be careful before applying this dirty fix.

Similar posts

Ravi Sagar Newsletter

Want to contact me?

Life begins outside your comfort zone and that is where your courage is developed". Write to me by filling this form. For living I am an Atlassian Consultant who love both Jira and Drupal. I am the author of "Mastering JIRA" and "Mastering JIRA 7" books. I Love both JIRA and Drupal (a bit more). You can Write To Me and I will get back to you as soon as I can. Have a nice day!

Social Links