Microsoft HTTPAPI/2.0 use Port 80 – Cannot Start WAMP Apache

Screenshot of Microsoft Web Deployment Service

Microsoft Web Deployment Service

I just installed fresh Microsoft Windows 7, and I installed WAMP for my APACHE – PHP server. When I want to start the server, the WAMP icon turn yellow (not green). Upon further investigation, I found out that when I go to WAMP dock icon -> Apache -> Service -> Test Port 80, I received a message that Port 80 is used Microsoft HTTPAPI/2.0.

I fire up Google and most of the solutions mentioned about turning off Microsoft SQL Server Reporting Services (SSRS). I have browsed my Services and couldn’t find any SSRS installed (although I have SQL Server 2008 Express installed).

Luckily I came across this forum which gives me the solution.

We must stop Web Deployment Agent Service (MsDepSvc) from Administrative Tools > Services area. You can disable the service, to have port 80 ready when you boot your system.

The following article will explain about this service, you can follow the link below to read more.

Microsoft Web Deploy

Web Deploy is a free technology built by my team that can improve web deployment. It is a deployment service that runs on a server, and enables you to either locally or remotely deploy applications onto it. Web Deploy includes built-in support for creating virtual directories and applications within IIS, copying files and folders, provisioning databases (both SQL Server and MySQL), setting file-system ACLs and more (it even includes built-in providers for things like setting registry entries, registering COM components, etc). In addition to having these built-in deployment features, it also supports a .NET based provider API that enables you to create and plug-in your own custom deployment actions – which allow you to customize it however you want.

100 Responses to “Microsoft HTTPAPI/2.0 use Port 80 – Cannot Start WAMP Apache”

  1. Darryl Says:

    Thanks! This solved my problem and I didn’t need to re-start my computer.

  2. Jaymin Shah Says:

    Thank you so much
    now my wampserver is working..:)

  3. Tanuj Saxena Says:

    Thank You Friend….. It really worked. Before finding this article, Iread too many article for this problem But none worked. But After reading this I have resolved my problem. Thank You Very Much….

  4. Nahyan Says:

    thanks a lot! *sigh*

  5. soody Says:

    got awamp start up problem from few days and tried everything , what solves my problem is go to control panel, than administrative tools, than services, and look for wampapache and wampsqlid and , they were disabled , i right click on properties and change start-up type from disabled to automatic and apply it.
    after this restart all services on wamp icon and now its start.

  6. Muhammad Shoaib Says:

    Hi .. Thanks Alot .. My whole class was upset searching how to stop that port tried many ideas nothing worked :) Now with this help i started my wamp easily , Thanks again..

  7. fakhar Says:

    thanks yaar it was going to my nerves. i made apache and wampsqlid automatic. and it runs

  8. Tom Says:

    Thank you… so much wasted time due to Microsoft. Cannot believe they can get away with such aggressive tactics.

  9. Nick Says:

    Seriously, have been working on this all day – like 7 hours – and your post finally got WAMP to work. Thank you SO much for posting this! I know nothing about computers, but your directions were great and solved the problem. Can’t thank you enough, I only wish I found the information sooner! Cheers!

  10. Elakya Says:

    Thank u so much… i got it :)

  11. Elakya Says:

    Thank u so much .. i got it.

  12. Rado Says:

    hey, thanks for the good post. It took me some time to figure this out :)

  13. Abiodun Says:

    I had same problem. Here is how I solved it. Right click on computer->Manage->Services And Applications->Web Deployment agent services then right click then stop. You can also adjust Properties if you don’t want it to start automatically.

  14. Idosman Says:

    Thanks..that was pretty cool!

  15. Narinder Says:

    Very Nice answer. I searched alot on web but all in vain. Thanks

  16. lian Says:

    thanks a lot!

  17. Bishal Says:

    Thank you very very much. I m trying to solve this problem from many months ago finally with the help of this article i could fix my problem..! Thankx very much..!

  18. antonis Says:

    very nice answer.. got me out of troubles :) thanks so much!

  19. Mana Says:

    you rock, thank you!

  20. Panduka Says:

    It worked ! Thank you so much !!

  21. JAMBAY Says:

    THANKS A LOT…i searched for so many article to solve this problem and this one helped me……

  22. regev Says:

    great, solved it! thanks
    this can also happen if one installed any .net web dev framework (azure/

  23. zachary Says:

    Wow, thank you a lot! I was using xampp just fine, then it stopped working… after much troubleshooting, i finally uninstalled it and installed wampp, and it still didn’t work! hours were spent, like you, going through google and trying to figure it out. Your solution worked! Thanks a ton!

  24. Dhanushanth Says:

    Great thanks a lot ,you have done a great job :)

  25. Gayan Says:

    Thank you very much friend. This was very much helpful

  26. Andri Says:

    Thank you d^_^b

  27. Abdel Says:

    Thank you :D

  28. JCondor Says:

    Thank you so much! Like the rest of the people here I read dozens of posts elsewhere to no avail, but you saved me. My business partner told me I have to start learning codeigniter and I couldn’t do it without you. Thanks again!

  29. Corinne Says:

    Nice and simple! Thank you very much!

  30. SRS.Mohit Says:

    If you have SQL Server already installed, and in the Services list, you don’t find, “Web Deployment Agent Service” … then search for, “SQL Server Reporting Services” … stop either of the services that is Marked as Automatic ….
    It worked for me …
    Thanks to the original Author of this post ….

  31. rochak Says:

    can not find that agent services in services to stop
    i have microsoft visual studio and microsoft sql
    but want to run now apache
    help me

  32. Amy Says:

    Really helpful. Thankyou very much

  33. Seddik Dor Says:

    Grazie Mille thank you

  34. AlPaz Says:

    Thanks! it works!

  35. Jeff Says:

    What can I say, bro. You saved me from pulling out my hair. Gotta love Microsoft. They must have initialized this thing after I installed Visual Studio. Thank you.

  36. Ahmed Says:

    You saved my life!!

  37. andrew Says:

    I love you!

  38. Ahmed Faris Says:

    Thank you very much, That’s very helpful and useful article :)

  39. Mavric Says:

    Awesome dude:) Thanks for the help!

  40. Bilal Says:

    Hi, first of all thanks for the solution. It seems to work but there is a silght problem. I can access PHPmyAdmin but when I type in localhost I get a 403 forbidden message. However, I can access localhost through typing I just wanted to know why I cant access the local host the way I did before. Also, I cant access webgrind either.

    ps- when i fist installed wamp it worked fine but then out of the blue it stopped working and I had to follow you solution.

  41. Bilal Says:

    Hey, so I fixed the problem mentioned in the earlier post. Before I found this solution I tried another which involved making changes in the apache httpd.config file. I had changed the listen code to 8080. Once I changed it back to just 80 everything else was working again. Once again thanks for this.

  42. NoGeek Says:

    stoping the sqlserver reporting service allowed apache to start for me, so give it a shot, just go to run and services.msc and stop it.

  43. Joel Says:

    I don’t think people on the internet are polite enough, so I just wanted to say thanks! Just what I was looking for, works a treat – will serve me right for trying to do development work on a Windows machine too I guess!

  44. Naveed and Sohaib Says:

    Guys who are still having problems should restart their system and try.

    Thank you guys. You are great. keep it up.

  45. Joseph Says:

    Helped me out too. Thank you much.

  46. Rohit Savana Says:

    Thanks friend :)

  47. Pete Says:

    God bless you

  48. Artur Says:

    In my case BranchCache service used 80 port and introduced itself as “Microsoft HTTPAPI/2.0″

  49. iresh Says:

    Thank u very very much…!!!

  50. rishav Says:

    thanks a lot . really it worked thank you so much

  51. mi3000 Says:

    Thank you all very much :)

  52. Diego Says:


    When I tested the port 80 I can see the Microsoft-HTTPAPI/2.0

    But there is not a service named Web Deployment Service Agent.

    What can I do?

    This is a Windows 7 Enterprise Running on a Oracle Virtual Machine over a MAC OS as host.

  53. Dee Says:

    A million thanks – this has been wrecking my head for quite a while – now on with what I really want to do!

  54. Vinay Says:

    Stopping MsDepSvc worked for me on windows 8……………..

  55. edsdad Says:

    THANK YOU!!!

  56. Adeesha Jayanath Says:

    Thank a lot.

  57. Raman Says:

    Or change the port number to something else like 9000 by changing the httpd.txt for apache

  58. Ifelere Says:

    Now this is so fantabuloustic! Thanks man. This is so… well… on point. Good job.

  59. jkurrle Says:

    This got me going in the right direction. For me, it was a windows update that turned on Windows Remote Managemenet. Turned it off and all of a sudden, Port 80 started working. Thanks!

  60. Kenan Bašović Says:

    Thanks m8!

  61. Emre Says:

    if its not solved your problem, u will check this also

    solution for port 80.

  62. yulistioagung Says:

    Hi, thank you for sharing. I have the same problems, but with stopping the “Web Deployment Agent Service” wamp server is running now :-D

  63. Dan Says:

    Thank you very much! That was my problem as well.

  64. gamers Says:


  65. Juliany Says:

    lo resolvi deteniendo mi servicio de reporting service de Ms

  66. Abzy Says:

    THANK YOU SOOOOO MUCH! Wamp Server works now. I had to go through 3+ forums to find this! *HUGS*

  67. banned Says:

    THANK U! It was SO simple!

  68. Micolix Says:

    Crap! Thanks! you saved me! i wasted hours looking for this.

    thanks a lot!

  69. sayed Says:

    Disable both:
    1-Web Deployment Agent Service.
    2-SQL Server Reporting Services if you have sql server installed.
    It worked for me
    Thanks to the original Author

  70. rauf Says:

    Thanks a lot !

  71. Ameer Hassan Says:

    Thank you man. but for me the “offending” service was “World Wide Web Publishing Service”. Any how thanks

  72. Sathira Says:

    Simple solution…
    click on the “W” icon on the task bar > got to “Apache” > select “httpd.conf” > change “listen to port 80″ to “81″

  73. Ankur Says:

    Thanks for the detail…
    In my case stoping “Microsoft SQL Server Reporting Services (SSRS)” worked out pretty well…
    I din’t had Web Deployment Agent Service (MsDepSvc)installed on my system…:)

  74. shahrokhi Says:

    you should stop or disable reporting service of sql server

  75. Anbi Says:

    This nailed it, thanx! Odd it should be such a hazzle to find info on this…

  76. lui Says:

    thank you very much sir

  77. VRV Says:

    TK ! The only site that offers correct answers.

  78. karina Says:

    muchisimas gracias, realmente pude solucionar este problemita que me dio bastante dolor de cabeza

  79. Giancarlo Diana Says:

    Problem was solved putting on MANUAL and STOPPING the service:
    WS-Management -> WinRM.

    rochak I hope this help you.
    (maybe I will put it on my blog)

  80. dmchoster Says:

    Thanks solved problem without a restart!

  81. Doug Walker Says:

    THANK YOU! You have saved me a ton of time and a ton of work! I had searched many other websites and none really had viable solutions, but turning off that service did the trick!

  82. LordLiverpool Says:

    Worked for me! Thank You!!!

  83. Ayo Adesokan Says:

    this really worked. thanks

  84. Mathew Says:

    Hey it worked like hell ;)

    Thanks buddy..

  85. john Says:

    Thanks very much this forum was very helpful!

  86. adnan Says:

    If you have SQL Server installed too.then search for,controll panel>systems and security>Administrative Tools > Services area. “SQL Server Reporting Services” … right click on it and stop services…
    It works for me …
    however thanks for all the solutions……..

  87. Rohit Says:

    Thanx a Lot!!!
    needed to Stop the (MsDepSvc) service and then Start the apache service setting it to automatic!!!

  88. Sati Says:

    Thanks a bunch…I first stopped IIS and then the World Wide Web Publishing Service.

    Very helpful.

  89. sushiyant Says:

    i have Microsoft windows 7, but Unfortunately can not find this service

  90. sudip Says:

    It also help me thanks…..

  91. Reichmond Says:

    En mi caso tengo instalado MS SQL 2008 , bajé todos los servicios y funcionó

  92. Reichmond Says:

    In my case in my computer is installed MS SQL 2008 , stop all its services, and bingo!!!

  93. Tilen Says:

    Works, dude. Thanks.

  94. radu Says:

    Hello, am have windows 7 on 64, an i folow this instructions, and on my computer i don’t see any service named: “Web Deployment Agent Service (MsDepSvc)”. Here is a printscreen on my desktop.: . Can somebody can explain, me, if there is other option

  95. Joyman Says:

    Awesome,,, thanks a lot (happy cry)

  96. faisal Says:

    thank u

  97. Rolles Says:

    Thanks a million. you saved my day.

  98. Nikola Says:

    Thank you so so so very much :D

  99. Matt Says:


  100. Gopal Sharma Says:

    Please add another evil service “Routing and Remote Access Service” to the list, that prevented my WAMP from starting on port 80.
    I checked out all the options above – IIS, Skype, Web Deployment etc. and none of those was running on my Windows Server 2008 r2. Finally, I started disabling and re-enabling the services one by one, running the telnet 80 (if no telnet, install using pkgmgr /iu:”TelnetClient” ) and GET in between. I always got the Microsoft HTTPAPI/2.0 response, but after I disabled the Routing and Remote Access Service, the telnet connection started failing, instead of allowing me to type a GET. So, that was it, disabled it, and Apache started just fine on port 80.
    Routing and Remote Access Service
    Offers routing services to businesses in local area and wide area network environments.
    On hindsight, this may have been due to an earlier VPN connection that was hosted from this machine.
    Hope that helps,

Leave a Reply