Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't use WAMP , port 80 is used by IIS 7.5

I am trying to use WAMP on Windows 7, my WAMP is online, but when I open localhost I get the welcome page of IIS 7.5, although I have uninstalled IIS 7.5 from my PC!

Apache server test says that port 80 is used my Microsoft-HTTPAPI/2.0

MS Visual Studio 2010 was uninstalled a short while ago as well.

like image 936
user1203861 Avatar asked Mar 08 '12 16:03

user1203861


People also ask

How do I open port 80 in IIS?

Double-click Internet Information Services (IIS) Manager. In the Internet Information Services dialog box, expand local computer ►Sites and right click Default Website and select Bindings. Select the http setting and click Edit. Change the port number to 80 and click OK.

How can I change WAMP 80 to 81?

Update: On 3.1. 6 version of WAMP , right click on the wamp server icon in the taskbar ,select "tools"-> "Port used by Apache:80" -> "use a port other than 80", an input box will pop up , input a new port in it,click confirm button , then restart wamp .

Can IIS and WAMP run together?

You can use both IIS and WAMP server on your system. Since the default port for IIS & wamp server is 80, you need to change one of the port.


1 Answers

I had lot of problems with this error (Thanks to Microsoft -- Grrr!!)

Finally found the solution ..... I am sharing this solution

There are couple of ways to stop IIS 7.5

  • Best one is:

    Open a CMD prompt (as Admin) and type this:

    iisreset /stop Here is a snapshot:

    Image

  • Next option if you still cannot stop the IIS 7.5

    Try this video link.

  • Final option is to change the port number as the last option httpd.conf

PS: Don't forget to restart the WAMP once fixing the errors


You can also

Just disable and stop the World Wide Web Publishing Service (This shuts down IIS forever) - - -(You need to use Run from the starting point in windows):

sc config w3svc start= disabled net stop w3svc 

If you don't want it disabled, but manual instead, replace disabled by demand (don't remove space).

like image 96
Devrath Avatar answered Oct 13 '22 00:10

Devrath