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
Categories: SQL Server, Web Technologies
microsoft httpapi
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 🙂
That was very handy! Thanks a lot !!!!
after a long struggle i have successfully started using apache service by viewing ur comment…thanks a lot..!
Thanks it works…
Glad it finally helps, one person =P
Thank you very much, I was having the same problem and it’s solved now.
Thanks dude, i’ve been looking for solutions too, and this was the only thing that works
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.
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.
thanks a lot …
its working on Sql server 2012 also ….
Thx a lot.
Used quite some time fingering out what was running on port 80.
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.
THANK YOU.
Thanks man, I shut down my IIS and stuff and saw this message, no idea what caused it until now.
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.
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 ?
just stop service name “SQL Server Reporting Services (MSSQLSERVER)” from Control Panel\All Control Panel Items\Administrative Tools\Services
Thanks a lot…
it worked for me too
thanks
Perfect!!!!!!
William, thank you! It works!
thanks a lot..
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.
wow great this one is for me… thank god i readthe comments. thanks chris
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
Hello jaxx, its there…you just try to find again after expand name column of services.
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
Thank you!
It worked for me on Windows 7
Thanks for sharing – great tip!
Thank you !!!
Form the last 24 hours i tried a lot but it is working now…..
Tnx, this one worked for me to (vista 32 )
Cheers
Peter
I found this helpful tip after I went all the way & uninstalled the Microsoft Web Deploy 2.0 package. That fixes it too.
Thank you. That was what I needed.
thanks! worked for me!
THANK YOU!
thanks man, it was big problem to solve, and i could not continue to install Joomla because of that service
Thanks milt, that solved it for me 🙂
Thanks a lot mate…great help!spent few hours to sort this out..lol!
OMG THANK YOU
This is the Ultimate Solution . Thanks a lot man .
AFTER 2 DAYS OF WORKS….IT WORKS THANKSSSSSSSSSSSSSSSSSS
Thank you!! I’ve been working on this for hours and everything I did wasn’t working! You’re a life saver!
Thank you! Worked for me.
I could not find the SQL Server Reporting Service, but the Web Deployment Agent Service worked. Thank you very much.
THANK YOU, fixed the problem here
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.
Thanks, this works cool 🙂
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…
thanks…
I had this problem for hours,thank yoy indeed…
Awesome!! Tried to figure this out for a while now. This solved the apache not starting on XAMPP issue.
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.
cheers, it saved me some time
Mate,
you save my day/ Ive been struggling with that one for a week or so. Thanks dude.
thanks! very helpful
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
tanks!
Awesome! Thanks for posting!
Thanks a bunch!
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.
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
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!
great
stop this World Wide Web Publishing Service.
and all is ok
thaaaanks
Hi, I have the same problem!!! can u explain me exactly what did you do???
Hope can help me!
thanks
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?
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!
Great .. Stopping SQL Reporting services really helped me out…
Thank you very much:)
Great work
Thank You very much
thanks … it is really helpful
i have the problem with Microsoft-Httpapi/2.0, I have disabled all SS 2008 stuff but its still not working
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
Thanks for this information, exactly what I needed installing and configuring WAMP.
Dear Griffith! You helped me a lot with this post, thank you!
Thanks! Great post!
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?
I did like “23. Mario” said and it work quite well!
Thanks for this great help!
Abraço!
hi,
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.
rg,
Tim
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
Thanks a lot for your information
Thanks a lot!!!
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.
ss
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 !!!
Thanks!!! You’re the best. It was branchCache for me too!
Thanks man,
had SQL2k8 RS installed as well when WAMP didn’t work!
You saved me a lot of time, thanks!
/Tomas
For me also it is Win7 service called BranchCache
thanks bro, its very use full..
Thanks a lot!!!
You rule!
if you have win7 ultimate and don’t have iis services or sql services installed stop the service Branchcache.
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!
EASY!!!
thnks .. you saved me a lot of time
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)
It is the best way. Thank you very much Ali. I like this work
Good luck
Very nice Solution. Thanks Ali
awesome!…tnx
Thank you so much…we’ve been battling for DAYS with this!
Thanx.
Stopping Service MSSQL Reporting service. Just works Perfectly. Thanx for the help
Hi, great post!!
Hi,
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!
good job
I uninstalled the sql server 2008. and now apache working start.
thanks all of u.
Gracias, me ayudaste a salir de un problemilla
como lo solucionaste? yo no tengo el servicio de sql o iis, no se que otra cosa puede ser..
Thanks for the great info.
Thanks a lot to jompiter for that amazing find.
Thanks a lot!Bravo guys!Ali thank you for the tip!
You guys rock, man took me ages to get this one right but thanks to your geniuses i came right.
tanks
Thanks a lot, it was very useful.
Hi, great post!! Thanks
thanks for the help:)
Thanks a lot if u were not there i supposes to reinstall the windows
😀
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.
Thanks a lot. You resolved my problem, greetings from Poland 😉
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.
thank you so much griffith….. iv been searching 4 this all the night….
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)
Many thanks for the info 😉
thanks
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?
Thanks
yes,after uninstall the MS server 2000,my lighttpd server can not start normally.
Thanks. After reading the post I was able to use again Apache!!!
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.”
(http://stackoverflow.com/questions/1430141/port-80-is-being-used-by-system-pid-4-what-is-that)
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
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!!!!!
+1
Yes, this solved it for me.
Thanks!
+1
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.
after 3 days of trying everything even uninstalling sql this was it for me thank so much
Hi there,
I found the solution for this problem.
uninstall Microsoft web deploy 2.0 from programs.
and restart Apache.
Thank you so much! It really saved so much time. I’m not using SSRS anyway. 🙂
thank u so much!!!
You just save me a ton of time. Peace!
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!
Excellent Mr.chicharito
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
Thanks, very Thanks…..
Thanks ,, My solution is :
Disable Web Deployment Agent Service
Have fun
Thanks thanks thanks.
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.
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
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
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!
NIce!!!Thanks!
Running 2008 R2 I also had to shut down Web Deployment Agent Service in order to stop HTTPAPI/2.0.
thx Jonathan best possible way
cheers 😉
This is a life saver…
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
Uninstalling “Web Deploy 2.0” is what freed up the Microsoft HTTPAPI/2.0 issue for me. Port 80 is now available again.
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.
configuración de Reporting Services error? 😦
thanks a ton.
Hey, this is one of the most successful blog articles I’ve ever seen.
Thanks for the great advice, it saved me some headache…
I edited the httpd.conf file in two places and changed 80 to 8081. it worked fine.:)
Stop de Microsoft Web Deploy Service
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!
cheers your advice in http://www.wampserver.com/phorum/read.php?2,77129 really helped get my wamp to green!
In my case it was Web Deployment agent service, blocking the port
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.
thanks!
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
thanks..
Thank you! I have been trying to solve this problem for 3 days and now I fix it
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
Thanx !!!. Its working now.
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
Thanks i can finally go home.
Spent the whole day trying to fix this
Port in use by :Microsoft HTTPAPI/2.0. problem
для win 7 64
(стоп) служба агента веб-развертывания(служба удаленного агента для microsoft web deploy 2.0)
ура
Microsoft HTTPAPI/2.0. проблема-исчезла всем спс))
itz really worked man…..Oh GOD NO WORDS TO THANK YOU…..THANK YOU SOOOOOOOOOOOOO MUCH MATE,,,,,,,,I WASTED LIKE SO MANY DAYS 2 FIND THIS OUT….THANK YOU SOOOOOOOOOOO MUCH,,:)
I just removed “Visual Web Deploy” application and… apache working well! 🙂
Regards…
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
Thank you, very much. It really works!
THANX ALOT……I SPENT WHOLE IN FINDING SOLUTION INSTEAD OF LEARNING PHP …BUT DESABLING SRSS REALLY HELPS ME ….THANX AGAIN
Thank you very much, you are freaking genius.
I had the same problem but when I set the startup type of the SSRS to manual it started working.
Thanks!
For me it was not SQL Server Reporting Services. It turned out to be a service called “Web Deployment Agent Service” (MsDepSvc).
thanks its working properly
Администрирование-Службы-отключаем службу(остановить) Служба SQL-server Reporting Services (MS SQL SERVER)
эта служба держит 80 порт сервером майкрософта, перегружаем апач все ок!
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.
Thanks a lot…this saved me lot of time:)
This was helpful and I also found if you have Microsoft Web Deploy, it hogs port 80
Thanks for the post, saved me a lot of time!
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.
Thx! So helpfull
thanks Dear William, you save my life
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”
Sweet Jesus I’m glad I found this page. I’ve been working on this for almost 12 hours solid with no luck.
thank you. this shit literally gave me headaches!
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.
thank you so much….
thanks man, it really helped me…
thank you so much, you really helped me
Thank you so much. Finally it is done.
gracias en w7 español el servicio es “Servicio Agente remoto para Microsoft Web Deploy 3.0.”
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
All this approaches are proved successful, what you need to do is
holding on faithfully.
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.
Getting rid of Web Deployment Agent did it for me. Thank you!!!!!
Wow this also helped with an issue I had starting Apache with wamp. Thanks!
Thank you so much. worked for me 🙂
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 127.0.0.1 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.
Details:
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,
Gopal
Компания MigCredit оказывает услуги по микрокредитованию частных лиц, без залога и поручителей, с прозрачной системой процентов и без скрытых комиссий.
Более подробную информацию вы можете получить на нашем лендинге:
http://migkredit-lp.ru/
Valuable info. Fortunate mе I foսnd ƴour website bү chance, and I’m shocked whү this accident Ԁіd nott happened earlier!
ӏ bookmarked it.
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
Thankyou soo much. It worked for me too.