Home > SQL Server, Web Technologies > Microsoft HTTPAPI/2.0 disabling Apache

Microsoft HTTPAPI/2.0 disabling Apache

I’be been working on php for 2 months now and developing on my laptop with WAMP installed before uploading to work’s dev server. Now working with SQL Server instead of MySQL, I’ve installed SQL SERVER 2008 CTP for test and suddently Apache went down as port 80 was used by Microsoft HTTPAPI/2.0.

I then found SSRS (SQL Server Reporting Services) was still running after uninstalling SQL Server 2008 as it features a web service even though IIS is not installed according to wiki.

I couldn’t find any info on google relating to this small issue that puzzled me for a short while. i hope this helps finding ppl stupid like me sometimes to solve their problem

  1. Alan
    January 6, 2009 at 8:03 am

    Thanks for this, I’ve just had exactly the same problem and was scratching my head for half an hour.

    Just disabled the SQL Reporting Service and I can finally use port 80 again 🙂

    • July 31, 2011 at 6:32 pm

      That was very handy! Thanks a lot !!!!

    • karthi
      November 23, 2012 at 10:15 pm

      after a long struggle i have successfully started using apache service by viewing ur comment…thanks a lot..!

    • January 19, 2014 at 6:31 pm

      Thanks it works…

  2. January 9, 2009 at 12:22 pm

    Glad it finally helps, one person =P

    • Hany
      March 5, 2011 at 2:52 am

      Thank you very much, I was having the same problem and it’s solved now.

    • February 24, 2013 at 1:58 am

      Thanks dude, i’ve been looking for solutions too, and this was the only thing that works

  3. brian
    January 19, 2009 at 4:45 am

    Thanks for this. I also was searching around for hours trying to find what was hogging port 80. It is near impossible if microsoft hogs it. I had recently installed sql 2008 but hadn’t rebooted my machine, so days later I rebooted and couldnt figure out what the problem was…I uninstalled IIS and tons of other apps..argh.

  4. pt
    January 23, 2009 at 4:42 pm

    Thank you!!!!

    I’ve spent my whole night trying to figure out what the hell was running on port 80. I installed a whole bunch of stuff at the same time the day I bought my computer, so I had no idea what caused it. I knew it wasn’t Apache, Skype, or any other non-MS program. netstat isn’t any help when the process belongs to System. I finally realized I could hit localhost in a browser and look at the response header. ‘Microsoft HTTPAPI/2.0.’ led me here. I despise whoever at MS decided that SQL Server Reporting Services should run by default on port 80 with no configuration.

    • Abid Ali
      August 4, 2014 at 7:05 pm

      thanks a lot …
      its working on Sql server 2012 also ….

  5. February 10, 2009 at 8:13 pm

    Thx a lot.

    Used quite some time fingering out what was running on port 80.

  6. February 11, 2009 at 10:58 am

    Thanks! Ran into this issue in November ’08. Couldn’t solve it.

    Set Apache to run on port 81 and moved on. Yet debugging was more difficult as it always launched on port 80.


  7. Shawn Mclean
    February 14, 2009 at 6:45 am

    Thanks man, I shut down my IIS and stuff and saw this message, no idea what caused it until now.

  8. February 14, 2009 at 6:47 am

    I went in to the SQL Reporting Services Configuration Manager and changed all references from Port 80 to Port 8080 (which is where I’m running IIS for WebServices) and left Apache (WAMP) on port 80. Problem solved. Thanks for leading me in the right direction.

  9. jaxx
    February 24, 2009 at 4:08 am

    above post is mine on another forum, no clue how it got here (automatically?)
    anyhow.. I cant find the SQL Reporting Service.. I have a fresh copy of Windows 7 beta and WAMP installed and when I test port 80 I get:
    “Your port 80 is actually used by:
    Server: Microsoft-HTTPAPI 2.0”

    any ideas ?

  10. William
    February 27, 2009 at 2:57 pm

    just stop service name “SQL Server Reporting Services (MSSQLSERVER)” from Control Panel\All Control Panel Items\Administrative Tools\Services

    • isuru
      April 9, 2011 at 7:31 pm

      Thanks a lot…

      • neeraj yadav
        May 8, 2013 at 3:51 am

        it worked for me too

    • mauro
      September 29, 2011 at 3:59 am


    • artbazil
      February 1, 2012 at 8:19 am

      William, thank you! It works!

    • andi
      April 3, 2012 at 9:03 pm

      thanks a lot..

    • May 25, 2013 at 2:05 am

      That help me a lot, for me I received the “Your port 80 is actually used by:
      Server: Microsoft-HTTPAPI 2.0” message but the service that was causing it was “Web Deployment Agent Service”, your info on going to control panel/administrative tools/services helped me find and stop it.

      • March 28, 2014 at 2:35 am

        wow great this one is for me… thank god i readthe comments. thanks chris

  11. jaxx
    February 28, 2009 at 9:29 am

    like I said there was no such service.. it was a fresh install of windows 7.. anyway I used port 8080 for a while and now I’m back to Vista 64

    • Tarj
      May 25, 2011 at 7:54 pm

      Hello jaxx, its there…you just try to find again after expand name column of services.

    • mit
      August 4, 2011 at 1:42 pm

      Just stop “Web Deployment Agent Service” from administrative tools
      there is no need to change the port no of apache and no need to stop sql reporting service

      • cristi
        August 17, 2011 at 2:29 am

        Thank you!
        It worked for me on Windows 7

      • August 22, 2011 at 5:05 am

        Thanks for sharing – great tip!

      • August 23, 2011 at 10:34 pm

        Thank you !!!
        Form the last 24 hours i tried a lot but it is working now…..

      • Peter
        August 23, 2011 at 11:24 pm

        Tnx, this one worked for me to (vista 32 )



      • October 27, 2011 at 9:38 am

        I found this helpful tip after I went all the way & uninstalled the Microsoft Web Deploy 2.0 package. That fixes it too.

      • Brett
        November 10, 2011 at 2:01 am

        Thank you. That was what I needed.

      • minu
        November 25, 2011 at 10:19 pm

        thanks! worked for me!

      • chuck
        December 5, 2011 at 2:52 am

        THANK YOU!

      • Jack
        December 22, 2011 at 2:22 am

        thanks man, it was big problem to solve, and i could not continue to install Joomla because of that service

      • Eb
        February 21, 2012 at 12:20 pm

        Thanks milt, that solved it for me 🙂

      • ram
        March 8, 2012 at 3:17 am

        Thanks a lot mate…great help!spent few hours to sort this out..lol!

      • Jace
        April 7, 2012 at 10:09 am


      • July 14, 2012 at 7:50 pm

        This is the Ultimate Solution . Thanks a lot man .

      • September 15, 2012 at 10:23 am


      • olivertwist
        September 20, 2012 at 4:30 am

        Thank you!! I’ve been working on this for hours and everything I did wasn’t working! You’re a life saver!

      • September 22, 2012 at 5:55 am

        Thank you! Worked for me.

      • Zowilveram
        January 15, 2013 at 12:00 pm

        I could not find the SQL Server Reporting Service, but the Web Deployment Agent Service worked. Thank you very much.

    • Darius
      December 7, 2011 at 5:42 am

      THANK YOU, fixed the problem here

  12. Mark
    March 19, 2009 at 9:02 am

    Thanks very much for this. I just installed the reporting services for SS 2008, and it took me ages to work out why apache wouldn’t run. Checked the port 80 test in wamp, and it said it was being used by HTTPAPI/2.0.
    Stopped the service and it’s fine.
    Other common processes using this are obviously IIS but also Skype.

  13. April 1, 2009 at 6:34 am

    Thanks, this works cool 🙂

  14. Suha
    May 22, 2009 at 5:02 am

    Thanks a lot…
    I have a project due 4 days from now on.. I had installed SQLServer 2008 for another project and today i realized the problem. You really saved a lot time for me…

    Thanks again…

  15. dino
    July 12, 2009 at 12:00 am

    I had this problem for hours,thank yoy indeed…

  16. Dave
    August 27, 2009 at 1:01 pm

    Awesome!! Tried to figure this out for a while now. This solved the apache not starting on XAMPP issue.

  17. August 31, 2009 at 11:41 pm

    Lifesaver! Thanks so much for posting this. FWIW, the SQL Server Reporting services was listed as ‘ReportServer’ under the ‘services’ tab in my windows task manager.

  18. bumperbox
    September 9, 2009 at 7:13 am

    cheers, it saved me some time

  19. zboris
    September 16, 2009 at 11:39 am

    you save my day/ Ive been struggling with that one for a week or so. Thanks dude.

  20. Julian F
    October 19, 2009 at 11:38 pm

    thanks! very helpful

  21. Mario
    December 2, 2009 at 2:30 pm

    Start the Reporting Services Configuration Manager and change both the Web Service URL and Report Manager URL to a different port. I’ve changed mine to 8090 and it works like a charm

  22. December 3, 2009 at 12:02 am


  23. Matt
    January 13, 2010 at 2:20 am

    Awesome! Thanks for posting!

  24. Stephen
    January 21, 2010 at 4:14 pm

    Thanks a bunch!

  25. volkerk
    January 23, 2010 at 10:21 am

    For figuring out what is holding your port open, use the command “netstat -abon”
    The -o option adds the process ID to the display, and -b causes the owning program component to be displayed below the set of connections/ports it holds open – note this will take quite long to run, and should be directed to file for analysis, as it gets hard to find things in a command window.

  26. Zaraq
    February 22, 2010 at 8:41 pm

    Thank u very very much i ve been busy in troubleshooting this error.. tried installing different apache servers but i received same msg that port is already being used..

    now this is solved but i ve some strange problem too i install wamp server n after sometime it gets corrupt even cant uninstall it. msg like missing something.. if u guy who i believe r expert in php will guide me thanks

  27. Wessel
    March 8, 2010 at 2:40 am

    Man it also took me hours. The services above weren’t running on my system (Windows 7 x64), but still I couldn’t bind to port 80.

    Finally I found the evil: World Wide Web Publishing Service.. Stopped this service and voila.. Apache works!

    • mohamed
      April 6, 2011 at 12:41 am

      stop this World Wide Web Publishing Service.
      and all is ok


    • sandra
      June 13, 2011 at 5:03 am

      Hi, I have the same problem!!! can u explain me exactly what did you do???

      Hope can help me!


  28. Shailesh Tainwala
    March 22, 2010 at 11:54 am

    Hey, I’ve encountered the same problem, and testing the port returns the same message.

    However, I have neither a service named ReportSever or SQL Reporting Services running.

    I do have Visual Studio 2008 installed on my system.

    Any suggestions on fixing the problem?

  29. Khurram
    April 7, 2010 at 6:50 pm

    I spent One Week on this. The services above weren’t running on my system (Windows 7 x64), but still I couldn’t bind to port 80.

    Finally I found the evil: Sql Server Reporting Services Stopped this service and voila.. Apache works!

  30. Parth
    April 18, 2010 at 8:27 am

    Great .. Stopping SQL Reporting services really helped me out…
    Thank you very much:)

  31. Youseef
    May 11, 2010 at 7:23 am

    Great work
    Thank You very much

  32. Ahmed
    May 25, 2010 at 6:42 am

    thanks … it is really helpful

  33. tony
    May 28, 2010 at 7:05 am

    i have the problem with Microsoft-Httpapi/2.0, I have disabled all SS 2008 stuff but its still not working

  34. Sanmoy Panda
    June 3, 2010 at 5:04 am

    Thanks for this, I’ve just had exactly the same problem.
    Just disabled the SQL Reporting Service and I can finally use port 80 again

  35. Marakov
    June 11, 2010 at 2:21 pm

    Thanks for this information, exactly what I needed installing and configuring WAMP.

  36. ZimiOmega
    June 28, 2010 at 3:04 am

    Dear Griffith! You helped me a lot with this post, thank you!

  37. Regga
    June 29, 2010 at 4:40 pm

    Thanks! Great post!

  38. July 5, 2010 at 9:16 pm

    Excellent tip!

    Helped perfectly. This is the exact issue I was facing and now I have resolved that by stopping the reporting service.

    However do know how to change the port 80 for Apache and to make it 81 so that I can use both Apache and Reporting services at the same time?

    • Jean Delefrati
      July 6, 2010 at 3:54 am

      I did like “23. Mario” said and it work quite well!

      Thanks for this great help!


  39. July 14, 2010 at 7:24 am


    i had the same message, but it was not Reporting Services that bothered me… but ‘MobileNoter’ a little program to sync OneNote-notebooks to you ipad/iphone.


  40. Mua
    July 14, 2010 at 2:29 pm

    Thank you for the contributers for this thread it has given the solution for my issues with wamp, which i have been trackling for few months now

  41. lays1977
    July 20, 2010 at 2:41 am

    Thanks a lot for your information

  42. gdutra
    July 24, 2010 at 6:21 am

    Thanks a lot!!!

  43. ccristi99
    July 25, 2010 at 6:29 am

    For me it wasn’t ReportingServices, but a Win7 service called BranchCache. Here’s a way to find out which service is forcing the System process to listen on port 80:

    1. Go to device manager, select “Show hidden devices” from menu/View, go to “Non-Plug and Play Driver”/HTTP, double click it.

    2. Go to the Driver tab and click Stop. A window will pop up listing the services that are using it.

    3. Don’t actually stop the HTTP “device” though, you’ll run into more problems later on. Just review the services which are using it and disable the one you don’t need.

    4. Use the “Test port 80” feature of WAMP to ensure the port is now free.

    • 545
      October 26, 2010 at 8:30 pm


    • Aleks Fishan
      April 7, 2011 at 12:23 am

      Thanks a lot for you, dude !!!
      with youre help i finaly find evil who blocked my 80 port. that stupid servis called BranchCache, as you tell.
      Now i’m happy !!!

    • Sky
      September 24, 2012 at 11:01 pm

      Thanks!!! You’re the best. It was branchCache for me too!

  44. Tomas Westerlund
    July 29, 2010 at 7:17 am

    Thanks man,
    had SQL2k8 RS installed as well when WAMP didn’t work!

    You saved me a lot of time, thanks!


  45. Lasith Chandrasekara
    July 31, 2010 at 6:43 pm

    For me also it is Win7 service called BranchCache

  46. dheemanth
    August 5, 2010 at 5:11 pm

    thanks bro, its very use full..

  47. Sujoy
    September 7, 2010 at 5:01 pm

    Thanks a lot!!!

  48. October 28, 2010 at 3:25 am

    You rule!

  49. jompiter
    November 7, 2010 at 2:29 am

    if you have win7 ultimate and don’t have iis services or sql services installed stop the service Branchcache.

  50. Juan Ladines
    November 14, 2010 at 3:47 pm

    Hi, guys!!! no problem with WAMPSERVER and Microsoft SQL Server 2008 or VS2010.

    Just go to “CONFIGURATION TOOLS” inside your Microsoft SQL Server 2008 folder,

    And choose: “Reporting Services COnfiguration”

    then press “Connect” to the service “MSSQLSERVER”

    And finally press “Stop” button!


  51. dinesh
    December 6, 2010 at 4:49 am

    thnks .. you saved me a lot of time

  52. Ali
    December 10, 2010 at 4:06 am

    You also could have both Apache/MySql side by side with IIS/SQL Server without any problems and without tuning any features off, using a different Port number.

    1. From your WAMP taskbar icon, go to Apache -> then open the httpd.conf file.
    2. Find the Listen:80 line and change that to some other free port (ex. 8080).
    3. Find the ServerName localhost:80 & change that to localhost:8080.
    4. Select Apache Install Service and then start the server. (localhost:8080)

    • Amin
      June 10, 2011 at 4:49 am

      It is the best way. Thank you very much Ali. I like this work
      Good luck

      • Harold
        July 8, 2012 at 7:59 am

        Very nice Solution. Thanks Ali

    • kurdapfew
      January 22, 2013 at 10:49 pm


  53. Giovanni
    December 10, 2010 at 11:05 pm

    Thank you so much…we’ve been battling for DAYS with this!

  54. Jahanzeb
    December 12, 2010 at 11:30 pm

    Stopping Service MSSQL Reporting service. Just works Perfectly. Thanx for the help

  55. nucleox
    December 14, 2010 at 1:32 pm

    Hi, great post!!

  56. December 15, 2010 at 7:12 am


    In my case it was Skype listening to port 80, something I found out by running NETSTAT -p tcp -ano, and then finding the process on process explorer… Hope it helps someone!

  57. selo
    December 18, 2010 at 3:27 am

    good job

  58. satinder singh
    December 24, 2010 at 10:18 pm

    I uninstalled the sql server 2008. and now apache working start.
    thanks all of u.

  59. Angel Cristian
    January 8, 2011 at 2:50 pm

    Gracias, me ayudaste a salir de un problemilla

    • dada
      February 1, 2011 at 1:32 am

      como lo solucionaste? yo no tengo el servicio de sql o iis, no se que otra cosa puede ser..

  60. January 8, 2011 at 5:37 pm

    Thanks for the great info.

    Thanks a lot to jompiter for that amazing find.

  61. Sia
    January 11, 2011 at 3:19 am

    Thanks a lot!Bravo guys!Ali thank you for the tip!

  62. Kyle DS
    January 11, 2011 at 5:19 am

    You guys rock, man took me ages to get this one right but thanks to your geniuses i came right.

  63. masoud
    January 11, 2011 at 3:32 pm


  64. Lord Belial
    January 26, 2011 at 8:24 am

    Thanks a lot, it was very useful.

  65. January 28, 2011 at 4:11 am

    Hi, great post!! Thanks

  66. Hürcan
    February 6, 2011 at 6:29 pm

    thanks for the help:)

  67. February 20, 2011 at 3:58 am

    Thanks a lot if u were not there i supposes to reinstall the windows

  68. Mike
    March 7, 2011 at 10:15 pm

    Thanks for this post. Huge gotcha, can’t believe Microsoft did this. Apache was running at the time of my SQL Server install and listed as a service running on port 80. The MS installer should have seen this and asked for an alternate port – how hard would that have been? Unbelievable.

  69. Maciej
    March 23, 2011 at 11:43 pm

    Thanks a lot. You resolved my problem, greetings from Poland 😉

  70. halikarnaz
    April 4, 2011 at 10:02 pm

    Thanks for the post. Another way i have found is to change the default port of Apache. In the httpd.conf file of Apache, there are two places where the default port (80) is defined. You can change it to something else (8080 for example) and Apache works like a charm. This way you don’t need to disable/uninstall anything.

  71. indusara darshana
    April 9, 2011 at 5:56 am

    thank you so much griffith….. iv been searching 4 this all the night….

  72. isuru
    April 9, 2011 at 7:32 pm

    isuru :
    Thanks a lot… you solved my problem

  73. April 13, 2011 at 11:03 pm

    You can go to SSRS configuration tool under SQL Server 2008 and change the portnumber to another one (say 82). The you may need to restart the service (This is important)

  74. winnetou
    April 19, 2011 at 3:35 am

    Many thanks for the info 😉

  75. Selim
    April 19, 2011 at 9:34 pm


  76. Laura
    April 22, 2011 at 7:54 am

    what if I already uninstalled MS SQL and no where I can find the SSRS configuration tool or any other stuff related to MS SQL?


  77. April 24, 2011 at 4:30 pm

    yes,after uninstall the MS server 2000,my lighttpd server can not start normally.

  78. Felipe
    April 26, 2011 at 10:40 am

    Thanks. After reading the post I was able to use again Apache!!!

  79. wessel
    April 28, 2011 at 9:15 pm

    I my case it was MsDepSvc

    “A new service called “Web Deployment Agent Service” (MsDepSvc) can also trigger “System” with PID=4 to listen on port 80.”

    • Mike
      May 6, 2011 at 2:58 am

      This helped me. I read everyone’s post and thought all was lost until you posted… THANK YOU VERY MUCH!!! I was this close to jumping out of my first story building ;D

    • Triskelion
      May 11, 2011 at 9:58 am

      This was the good one for me!!! … error appeared afetr i installed the ms webmatrix tool. I didnt liked it so i uninstalled and the wamp wasnt working properly. Tried all the services posted here until i found yous … this was the good one :D. Thanks!!!!!

    • murraybiscuit
      May 12, 2011 at 3:55 pm


    • Bryn
      May 13, 2011 at 12:44 am

      Yes, this solved it for me.


    • Aidan
      June 6, 2011 at 9:15 pm


    • June 11, 2011 at 1:01 am

      My problem was also caused by “Web deployment agent service” (also registered as Microsoft HTTPAPI/2.0) You can stop it from Task Manager -> Services or from Component Services. Thanks wessel.

    • Guillermo
      July 9, 2011 at 11:08 pm

      after 3 days of trying everything even uninstalling sql this was it for me thank so much

  80. srikanth pentapati
    May 1, 2011 at 2:00 am

    Hi there,
    I found the solution for this problem.
    uninstall Microsoft web deploy 2.0 from programs.
    and restart Apache.

  81. steven
    May 4, 2011 at 7:58 pm

    Thank you so much! It really saved so much time. I’m not using SSRS anyway. 🙂

  82. moj
    May 6, 2011 at 9:41 pm

    thank u so much!!!

  83. May 8, 2011 at 2:56 am

    You just save me a ton of time. Peace!

  84. May 9, 2011 at 3:12 am

    Windows 7…
    uninstall Microsoft web deploy 2.0 from programs.
    and restart Apache. as per srikanth pentapati suggestion, SORTED!!! and United have pretty much won the league, a great day!

    • June 26, 2011 at 6:39 pm

      Excellent Mr.chicharito

  85. Shawn
    May 17, 2011 at 3:24 pm

    Thanks for this info guys, I cant find the SQL Reporting Service on Windows XP, changing
    1. From your WAMP taskbar icon, go to Apache -> then open the httpd.conf file.
    2. Find the Listen:80 line and change that to some other free port (ex. 8080).
    3. Find the ServerName localhost:80 & change that to localhost:8080.
    4. Select Apache Install Service and then start the server. (localhost:8080)
    Have a great day

  86. May 18, 2011 at 9:30 am

    Thanks, very Thanks…..

  87. nayef
    May 24, 2011 at 6:48 am

    Thanks ,, My solution is :
    Disable Web Deployment Agent Service
    Have fun

  88. noor
    May 25, 2011 at 8:44 am

    Thanks thanks thanks.

  89. anonym
    June 7, 2011 at 6:51 am

    I wasted a lot of time, in my case I already had Reporting Services disabled, and could not start apache on 80. Turns out that I had downloaded the MS Visual Web Develeloper 2010 IDE. It added a service called: Web Deployment Agent Service. After stopping almost all windows services I finally found that one. It may be your case so, check if you have that on your list of services.

    • Mrudul
      October 16, 2011 at 5:38 pm

      Thanks a ton dear … I have disabled Web Development Agent Service through Control Panel/Administrative Tools/Services. I have replaced the httpd.conf WAMP from 8080 to 80 and it started to work properly. I have wasted 2 days to reach to this forum … thanks a lot Mrudul

  90. June 14, 2011 at 5:12 am

    used process explorer of sysinternals to find what was using httpapi.dll because there was no process mentioned in any of the comments in either task manger service tab or services.ms. Finally found a process called MsDepSvc.exe and killied it

    • June 23, 2011 at 7:36 am

      Thanks a lot Rahul! I uninstalled all the MS sql stuff with no luck but stopped the MsDepSvc.exe service and tested port 80 with clean results!

  91. July 8, 2011 at 8:29 am


  92. Jonathan
    July 14, 2011 at 2:07 am

    Running 2008 R2 I also had to shut down Web Deployment Agent Service in order to stop HTTPAPI/2.0.

    • User
      July 15, 2011 at 3:44 pm

      thx Jonathan best possible way
      cheers 😉

  93. July 16, 2011 at 10:46 pm

    This is a life saver…

  94. zee
    July 25, 2011 at 7:43 pm

    for me it wasn’t any of the above said services. It was the Web Deployment Agent Service on a windows 7 x64 PC

    Hope that helps someone else as well

  95. July 30, 2011 at 1:12 am

    Uninstalling “Web Deploy 2.0” is what freed up the Microsoft HTTPAPI/2.0 issue for me. Port 80 is now available again.

  96. Roger Thurlon
    August 26, 2011 at 6:59 am

    anonym :
    I wasted a lot of time, in my case I already had Reporting Services disabled, and could not start apache on 80. Turns out that I had downloaded the MS Visual Web Develeloper 2010 IDE. It added a service called: Web Deployment Agent Service. After stopping almost all windows services I finally found that one. It may be your case so, check if you have that on your list of services.

    This worked for me, thanks. I think it got onto my system when I installed WebMatrix, not a tool I wanted but for some idiotic reason it was a requirement for the Web Platform install of Umbraco.

  97. August 28, 2011 at 9:12 am

    configuración de Reporting Services error? 😦

  98. September 19, 2011 at 4:08 am

    mit :
    Just stop “Web Deployment Agent Service” from administrative tools
    there is no need to change the port no of apache and no need to stop sql reporting service

    thanks a ton.

  99. October 1, 2011 at 7:56 am

    Hey, this is one of the most successful blog articles I’ve ever seen.
    Thanks for the great advice, it saved me some headache…

  100. lokesh
    October 4, 2011 at 4:06 pm

    I edited the httpd.conf file in two places and changed 80 to 8081. it worked fine.:)

  101. marcelo gino pereira
    October 5, 2011 at 9:56 am

    Stop de Microsoft Web Deploy Service

  102. November 17, 2011 at 10:12 am

    Thank you soooo much! I’m not very experienced and I’ve been struggling with this for two days, and hadn’t hit on this solution till now. I’m so happy to have my WAMP working again! Thanks!

  103. neil
    November 18, 2011 at 11:06 am

    cheers your advice in http://www.wampserver.com/phorum/read.php?2,77129 really helped get my wamp to green!

  104. December 4, 2011 at 2:58 pm

    In my case it was Web Deployment agent service, blocking the port

  105. Ali
    December 23, 2011 at 4:13 am

    Just add to the list WIndows remote management services. Windows Remote Management (WinRM) service implements the WS-Management protocol for remote management. WS-Management is a standard web services protocol used for remote software and hardware management. The WinRM service listens on the network for WS-Management requests and processes them. The WinRM Service needs to be configured with a listener using winrm.cmd command line tool or through Group Policy in order for it to listen over the network. The WinRM service provides access to WMI data and enables event collection. Event collection and subscription to events require that the service is running. WinRM messages use HTTP and HTTPS as transports. The WinRM service does not depend on IIS but is preconfigured to share a port with IIS on the same machine. The WinRM service reserves the /wsman URL prefix. To prevent conflicts with IIS, administrators should ensure that any websites hosted on IIS do not use the /wsman URL prefix.

  106. hieu nguyen
    December 23, 2011 at 6:42 pm


  107. Hard Patel
    December 26, 2011 at 10:14 pm

    thankyou all who helped solve this problem..

    i had the problem that i had installed webmatrix and webmatrix had installed IIS and SQL server on my PC..

    1. I uninstalled WebMatrix
    2. Disabled all the SQL services
    3. Disabled Webclient and WebDeploy
    4. Uninstalled IIs

    thats all and i am back again with my wamp…
    for services go to start menu and search for services…
    it will show you local services..click on it and it will open services..

    to check the port used on your pc
    go to cmd and type
    netstat -p tcp -ano


  108. Lorena Cartagena
    February 6, 2012 at 1:44 am

    Thank you! I have been trying to solve this problem for 3 days and now I fix it

  109. Helio
    February 29, 2012 at 11:45 pm

    Stop the service “SQL Server Reporting Services” and restart the apache or the wampserver

    Pare o serviço “SQL Server Reporting Services” e reinicie o apache ou o wampserver

  110. Shinoj
    March 19, 2012 at 3:37 pm

    Thanx !!!. Its working now.

  111. Edem
    March 21, 2012 at 12:39 am

    Thanks a bunch. This tip helped me a great deal as i discovered that my SQL server reporting service and IIS were using the port and

  112. April 5, 2012 at 3:11 am

    Thanks i can finally go home.
    Spent the whole day trying to fix this
    Port in use by :Microsoft HTTPAPI/2.0. problem

  113. m,himik
    April 19, 2012 at 6:54 am

    для win 7 64
    (стоп) служба агента веб-развертывания(служба удаленного агента для microsoft web deploy 2.0)

    Microsoft HTTPAPI/2.0. проблема-исчезла всем спс))

  114. Sandaru
    April 21, 2012 at 1:19 am


  115. Arek
    May 16, 2012 at 6:45 am

    I just removed “Visual Web Deploy” application and… apache working well! 🙂

  116. Bob Smith
    May 20, 2012 at 9:41 pm

    Another one too add to the list. I had Lanman Server which runs as part of SVCHOST on Windows 7 and doesnt show up as a process but keeps HTTPAPI active. In Services it is listed as just “Server”. I had stopped all the above suspects and still had the problem. Thanks to all as this put me on the right lines . I think Lanman Server is instigated if you set up a home network which I did and then removed. So hopefully this may save someone some time THANKS AGAIN regards, Bob

  117. May 24, 2012 at 2:02 am

    Thank you, very much. It really works!

  118. swati
    June 11, 2012 at 7:16 am


  119. Dilshan
    June 20, 2012 at 9:43 pm

    Thank you very much, you are freaking genius.

  120. Joe
    June 20, 2012 at 11:04 pm

    I had the same problem but when I set the startup type of the SSRS to manual it started working.

  121. Modest Walker
    June 27, 2012 at 2:20 am


  122. June 28, 2012 at 6:13 am

    For me it was not SQL Server Reporting Services. It turned out to be a service called “Web Deployment Agent Service” (MsDepSvc).

  123. Rami
    July 17, 2012 at 4:42 pm

    thanks its working properly

  124. Vadim
    July 27, 2012 at 1:33 am

    Администрирование-Службы-отключаем службу(остановить) Служба SQL-server Reporting Services (MS SQL SERVER)
    эта служба держит 80 порт сервером майкрософта, перегружаем апач все ок!

  125. Hedego Negash
    October 12, 2012 at 10:00 pm

    The wamp test port 80 tells my that microsoft-httpapi/2 is using port 80 but i couldn’t find the process for it. Then i stopped sql reporting service and finally it works.

  126. Sheela Surisetty
    October 13, 2012 at 6:35 pm

    Thanks a lot…this saved me lot of time:)

  127. test
    October 17, 2012 at 1:32 am

    This was helpful and I also found if you have Microsoft Web Deploy, it hogs port 80

  128. November 18, 2012 at 4:49 pm

    Thanks for the post, saved me a lot of time!

  129. Pathik
    December 4, 2012 at 12:24 am

    That’s right in many cases where SSRS (SQL Server Resporting Service) is not there BUT Web Deployment Agent Service occurs the same error. If this service is on, WAMP can’t find Port 80 free and remains in yellow state instead of green. so just Disable Web Deployment Agent Service from the Administrative Tools->Component Services.

  130. john
    December 11, 2012 at 10:35 am

    Thx! So helpfull

  131. December 30, 2012 at 6:21 am

    thanks Dear William, you save my life

  132. Ali
    January 2, 2013 at 9:46 pm

    Thank you soooooooooooooooo much. av been battling with this port 80 problem for about a month. Now I can use my wamp again after trying out ur solution ” Disabling the SQL reporting services”

  133. Jacob
    January 10, 2013 at 1:01 am

    Sweet Jesus I’m glad I found this page. I’ve been working on this for almost 12 hours solid with no luck.

  134. January 16, 2013 at 7:52 pm

    thank you. this shit literally gave me headaches!

  135. January 16, 2013 at 7:57 pm

    but Display name in services.msc on my end is: “Web Deployment Agent Service”. It does identify as Microsoft-HTTPAPI/2.0 when you send get/post/etc commands to it.

  136. Mohammad Shahid Ullah
    January 31, 2013 at 6:19 pm

    thank you so much….

  137. February 9, 2013 at 11:06 pm

    thanks man, it really helped me…

  138. Ryan
    February 20, 2013 at 3:14 am

    thank you so much, you really helped me

  139. Nalan
    March 1, 2013 at 2:38 pm

    Thank you so much. Finally it is done.

  140. mau
    April 9, 2013 at 2:44 pm

    gracias en w7 español el servicio es “Servicio Agente remoto para Microsoft Web Deploy 3.0.”

  141. July 7, 2013 at 5:48 am

    Go to control panel -> administrative tools -> services ->SSRS (SQL Server Reporting Services) then you just stop the SSRS (SQL Server Reporting Services) service then restart the wamp server then it automatically orange icon turns to green for more info just it out http://www.coderetina.com/port-80-used-by-microsoft-httpapi2-0-wamp-apache-error-fixed/ thanks

  142. July 24, 2013 at 10:43 am

    All this approaches are proved successful, what you need to do is
    holding on faithfully.

  143. August 14, 2013 at 9:40 pm

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

  144. joe
    November 9, 2013 at 2:26 pm

    Getting rid of Web Deployment Agent did it for me. Thank you!!!!!

  145. January 8, 2014 at 12:20 am

    Wow this also helped with an issue I had starting Apache with wamp. Thanks!

  146. April 17, 2014 at 5:39 pm

    Thank you so much. worked for me 🙂

  147. Gopal Sharma
    May 18, 2014 at 6:01 am

    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,

  148. Justinmeem
    August 18, 2014 at 1:44 am

    Компания MigCredit оказывает услуги по микрокредитованию частных лиц, без залога и поручителей, с прозрачной системой процентов и без скрытых комиссий.
    Более подробную информацию вы можете получить на нашем лендинге:

  149. November 6, 2014 at 7:02 pm

    Valuable info. Fortunate mе I foսnd ƴour website bү chance, and I’m shocked whү this accident Ԁіd nott happened earlier!
    ӏ bookmarked it.

  150. February 14, 2015 at 12:53 am

    Want to copy posts from other sources rewrite them in seconds and post on your page, or use for contextual backlinks?
    You can save a lot of writing work, just type
    in gogle:
    Daradess’s Rewriter

  151. Aaina
    April 8, 2015 at 6:12 am

    Thankyou soo much. It worked for me too.

  1. February 24, 2009 at 3:19 am
  2. May 27, 2009 at 2:54 pm
  3. February 23, 2012 at 9:51 pm
  4. October 30, 2012 at 7:20 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: