WAMP port 80 busy

Viewed 79826

I have installed WAMP on Windows 7 64-bit. When I try to start it, it says port 80 is used by "Server: Microsoft HTTPAPI/2.0".

I have checked and IIS is not installed. What should I do?

25 Answers

I came across this other post which helped me. For me

The Apache service wouldn't start because TCP/IP port 80 was in use.

The error was, Port 80 is used by "Server : Microsoft HTTPAPI/2.0".

The obvious thing was to disable the IIS web server, which can also use port 80. But this didn't solve the problem.

It turns out there are a long list of other services that can also use Port 80: These include the following services.

  • SQL Server Reporting Services
  • World Wide Web Publishing Service
  • Web Deployment Agent Service
  • Branch Cache Service (<== This was the important one for us, and also the one that is least documented)

Source

try starting wamp before skype ;]

Skype likes port 80...

I had the same problem caused by Skype.

To disable use of port 80 in Skype:

Go to File -> Options... -> Connection and uncheck the one called "Use port 80 as an alternative for..."

To find the service that is running under port 80:

netsh http show servicestate
  1. Check the Process ID in output
  2. Find the related service through Task Manager (Win+R > taskmgr)
  3. Stop / disable the service (Win+R > services.msc).

Typically, the service to stop can be BranchCache.

netsh http show servicestate will show information on what http services are running. use this to try to track down & locate the guilty service.

before finding this, i'd tried shutting down oodles of services. nothing seemed to work. for me, it was a MultiPoint service that was causing port 80 to be taken. i don't think i ever would have found it, had i not found out about netsh http show servicestate.

netsh http show servicestate will show the current http services that are running. this can make it much easier to track down & locate the specific things holding open port 80. for me it was a MultiPoint service.

Related