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?
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?
This problem can be also from SQL Server Reporting Services
. You need to stop/disable this service from:
Control Panel->System and Security->Administrative Tool->Services
and stop the service named SQL Server Reporting Services (InstanceName)
Open SQL Server Configuration Manager -> SQL Server Services
stop/disable SQL Server Reporting Services (InstanceName)
Change "Web Service URL" AND "Web Portal URL" in "Reporting Services Configuration Manager" for, let's say, port 82
–
Baptlsta I've solved this today!!!
You go to "Control Panel" >> "System And Security" >> "Administrative Tools" >> "Component Services" >> "Services (LOCAL)"
Now, since you are using WAMP and not IIS you should disable the "World Wide Web Publishing Service" and the "Web Deployment Agent Service". You are good to go.
If this doesn't work you probably have Skype using Port 80 (if you actually have Skype). (If you have IIS installed you should also disable it. But if you don't have it installed you shouldn't worry!)
An other solution could be to simply alter the appache httpd.conf. You can acces this file from the wamp menu > Apache > httpd.conf
Next alter the
#Listen 12.34.56.78:80
Listen 80
To for example
#Listen 12.34.56.78:7080
Listen 7080
Restart wamp and services
then type http://localhost:7080
and you'll have wamp up and running
And disable the IIS service if installed.
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.
Visual Studio 2017
, Web Deployment Agent Service
is re-enabled. You will have to disable it again then re-enable when required...or at least stop it, if you feel you will be needing it –
Sumptuary I have successfully rooted out the problem in windows 8. I hope this will be helpful to others 1) Go to control panel -Turn window features on or off - uncheck: internet information service IIS and internet information service hostable web core.
2) Control panel + system and security + Administrative + services (Disable all SQL Servers).
3) This one no one so far mention it: -control panel + system and security + Administrative tools + system configuration + services (uncheck Web Deployment Agent Services).
This worked for me:
Source: http://theandystratton.com/2012/wampapache-broken-from-microsoft-httpapi-2-0-using-port-80
Recently found another service that steals port 80 - a recent update of Razer Synapse installed the "Razer Chrome SDK Server" service which takes it. Disabling this freed the port for me.
Your WAMP does not start because port 80 is being use by another program (Microsoft-HTTP API).
So just change the port Apache uses. To do that click on your WAMP icon in tray go to APACHE and open httpd.conf
. In the opened text editor look for the line
Listen 80
and replace it with
Listen x
where x is your desired new port.
Now WAMP should start ok and you could access localhost with http://localhost:x
where x is your desired new port.
If by any chance you want a port that is already being used by another program you could see busy ports by going to command prompt and typing
netstat -ao
Also you should allow access to that port in your default browser too. You can find out how to do this for Firefox 3 by reading this article: Unblock a nonstandard port in Firefox3.
On my Windows 10, netstat said PID 4 was listening at port 80 and the solution was to stop BranchCache service.
This was already mentioned in a comment by Adrian Adkison, but I add it in a comment for better visibility.
try to disable the service BranchCache
:
services.msc
--> EnterBranchCache
serviceproperties
disabled
If you have Visual Studio the Web Deployment Service also takes Port 80 by default.
I have also facing the same issues.. I did the following steps to resolve the issue:-
1) Go to Control Panel-Administrative tools->Services
a) Stop the Web deployment Agent services and then right click on the service then click on the Properties and make it startup type Manual.
b) In the same way Stop the World Wide Web Publishing Services and mark it stratup type Manual.
c) Stop all services related to Sql Server
2) If IIS is already installed in your System..
a) Change the default port of IIS by opening IIS Manager
b) Then go to default Site->Default Web Site->Edit Bindings then chage the port to other than 80 i.e. 800
3) If Skype is installed and is in running state then also quit the skpye..
Then Click on Restart all services of WAMP server..(Now it should display green in colour) You can check it by write the following on your web browser.. http://localhost/phpmyadmin/
Hope the above steps will help you in starting WAMP server..
In my case the port test said "Server : Microsoft HTTPAPI/2.0". Netstat revealed it was pid 4, system. I tried everything here so far and it was not:
I finally found more answers on superuser and in my case it turned out to be http.sys. I changed the port it binds to with this:
netsh http add iplisten ipaddress=::
It freed the port immediately although i had te reboot before i could start wamp. Maybe because of all the random stuff i had disabled before :-)
Update 2017- Wamp version 3.0.6
Right click on Wamp--> tool--> apache section-->use a port other than 80
Now listen to
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.
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
Win+R
> taskmgr
)Win+R
> services.msc
).Typically, the service to stop can be BranchCache
.
In my case i got "your port 80 is used by microsoft-httpapi" Service I had to stop is "Remote agent service for the Microsoft Web Deploy 3.0." After i stoped it my apache is started to work on port 80. I dont want to add every time port (8080) when i work. (Skype i changed too to some port (not 80))
Hope it helps
BTW, this type of problem ties to similar posts concerning: port 80 in use by NT Kernel & System. For me, the problem was tied to Visual Studio 2012. I am running a test controller on my machine which communicates with test agents on remoted machines. The name of the service runing on my windows 7 x64 laptop is "Visual Studio Test Controller". Once I shut this service down, I was able to run anything I wanted on port 80 (apache in my case). The post by John above got me on the correct path to figure this out.
It exists an easy way:
wamp/www/yourDirectory(i.e test)
. Put in
this your php file with the name index.php. Now go to browser and
type http://localhost/yourDirectory(i.e test)/
.That worked for me...
A bunch of upvotes here for each answer identifying the culprit in an individual situation. But it would be good if there was an answer here with a list of the possible culprits to work through.
Sitepoint has a good post listing, identifying and resolving this problem for a range of possible port-80-using-services.
In summary, the possible culprits will be:
Check the Sitepoint post for full details.
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
.
Detail blog to fix this issue is : http://goo.gl/JXWqfJ
You can solve this problem by following two ways:
A) Start your WAMP befor you login to skype. So that WAMP will take over the the port and there will be no conflict with the port number. And you are able to use Skype as well as WAMP. But this is not the permanent solution for your problem. Whenever you want to start WAMP you need to signout Skype first and than only you are able to start WAMP. Which is really i don’t like.
B) Second option is to change the port of Skype itself, so that it will not conflict with WAMP. Following screen/steps will help you to solve this problem:
Now every time you start WAMP will not conflict with skype.
Server : Microsoft HTTPAPI/2.0
means something to do with IIS
and its associated technology. –
Cooler My way to resolve this problem is only to close Web Deployment Service Agent and set it "Manual" -- forever solved. Referenced:websites
© 2022 - 2024 — McMap. All rights reserved.