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

IisIis 7.5WampWampserver

Iis Problem Overview


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.

Iis Solutions


Solution 1 - Iis

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).

Solution 2 - Iis

By default WampServer is installed to port 80 which is already used by IIS. To set WampServer to use an open port, left click on the WampServer icon in the system tray and go to Apache > httpd.conf

Open the httpd.conf in Notepad. press ctrl+f and search for "Listen 80", change this line to "Listen 8080" (u can change this port as what you want), and then close and save the httpd.conf file.

Open a web browser and enter "[];, this will open the WampServer configuration page where you can configure Apache, MySQL, and PHP.

and some times this problem may occur because of skype also use 80 as default port hope this will help

Solution 3 - Iis

If you're using Windows 10, as I am, and the port is occupied by Microsoft-IIS/10.0, change the lines 62 and 63, of the httpd.conf, from:

Listen 0.0.0.0:80
Listen [::0]:80

To:

Listen 0.0.0.0:8080
Listen [::0]:8080

As the people here suggested.

And also, change the line 221, from:

ServerName localhost:80

To:

ServerName localhost:8080

Now, your host will be available at http://localhost:8080/.

Solution 4 - Iis

  1. Go to Control Panel > Administrative Tools > Services or simply type services.msc in run to open a list of all windows services.
  2. Find World Wide Web Publishing Service and stop it. (if you want to disable it permanently you can change its start up type from automatically to disabled).

That's All

Solution 5 - Iis

This could also be an issue of port 80 being used by "Web Deployment Agent Service". you can stop it from administrative tools->services and free up that port. as shown here

Solution 6 - Iis

goto services and stop the "World Wide Web Publishing Service" after restart the wamp server. after that start the "World Wide Web Publishing Service"

Solution 7 - Iis

Yes, you can just change the port to to any number. For instance change Listen 80 to Listen 81 in the httpd.conf file. Now try with http://localhost:81 and it will respond on port 81!!

Solution 8 - Iis

After uninstalling IIS on Windows 7, I continued to have IIS Welcome page. The solution was to clear the cache of my web browsers. It works fine now. I didn't change anything else. Sorry for my english, if it is not perfect.

Regards

Solution 9 - Iis

You can also uncheck the IIS services from control panel add or remove programs going for windows add or remove components.

Solution 10 - Iis

Left Click on wamp go to apache> select http.config

change LISTEN:80 to what ever you want you can choose any value of 4 digit like 1311,8000,9999 etc

Solution 11 - Iis

I had the same problem a month ago on Windows 10. Whenever I tried to access http://localhost/ it led me to the IIS page. I tried removing the IIS feature from windows features. Once I was sure it was gone, I tried running XAMPP, but it still did not work. I did not want to mess with the configuration files. But from this, I was quite sure it had something to do with my web browser. So, deleted the cache from the web browser I was using (Google Chrome).

To do so, I went to:

Chrome > Settings > Show Advanced Settings > Privacy > Clear browsing data > Clear Cached images and files.

Its almost the same process for any web browsers. Right after that, I was able to run XAMPP without any problem!

Hope it helps!

Solution 12 - Iis

I just installed WAMP 3 on Windows 10 and did not have Apache in the WampServer system tray options.

But the httpd.conf file is located here:

C:\wamp64\bin\apache\apache2.4.17\conf\

In that folder, open httpd.conf with a text editor. Then go to line 62-63 and change 80 to 8080 like this:

Listen 0.0.0.0:8080
Listen [::0]:8080

Then go to the WampServer icon in the system tray and right-click > Exit, then Open WampServer again, and it should now turn green.

Now go to localhost:8080 to see your server config page.

Solution 13 - Iis

Google search of "remove iis from port 80" leads here currently. Instead of removing IIS, here are the steps to just stop IIS from listening on port 80:

STEP 1: Open IIS Window. You can do this by, simply hitting the ‘Windows’ key and typing in ‘IIS’ or ‘Internet Information Services’. The result will be shown up there. Click it, you will get the window opened for you.

STEP 2: On the ‘Connections’ pane, click the default one to expand it. Usually (PC-NAME(PC-NAME\user), where ‘PC-NAME’ is your PC name, and ‘user’ is the username.

STEP 3: Click ‘Sites’ and expand it. Now select ‘Default Web Site’. On the ‘Actions’ pane, click ‘Bindings’ under the ‘Edit Site’.

STEP 4: Now a window named ‘Site Binding Opens. Click ‘http’ and then click edit. Change the port to another number, say 8000 and click ‘Ok’.

Solution 14 - Iis

remove iis server and run Apache OR run Apache in a different port

to remove iir [here][1]

[1]: http://support.microsoft.com/kb/321141/ "here"

or you can change apache port by go to httpd.config and change port:80 to something else

Solution 15 - Iis

This happens to me once: I uninstalled the IIS, and the port 80 still was used. Well the problem was that also I had the Report Service of the Sql Server 2012 installed, so I stopped that service and the problems solves.

See Stop Or Uninstall IIS for running Wamp Server (Apache) on default port (:80) question for more details.

Hope this helps some body, as it help to me.

Solution 16 - Iis

Left Click on wamp go to apache> select http.config Listen [::0]:8080

Solution 17 - Iis

I don't recommend changing apaches port itself, because it will need you remember changed port. Its also headache to tell your co-developers about port change.

Go to windows features(By searching turn on or off windows features) -> Find Internet information services(IIS) and uncheck if it checked. Please make a note when you disable it FTP server/ client will not work.(incase you are using it, change httpd.conf as giovannipds 's answer) -> If still port is not free, then change skype port through skype settings.

thanks, enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionuser1203861View Question on Stackoverflow
Solution 1 - IisDevrathView Answer on Stackoverflow
Solution 2 - IisRajika NanayakkaraView Answer on Stackoverflow
Solution 3 - IisgiovannipdsView Answer on Stackoverflow
Solution 4 - IisMojtaba RezaeianView Answer on Stackoverflow
Solution 5 - IisbuzibuziView Answer on Stackoverflow
Solution 6 - Iisvinayak naikView Answer on Stackoverflow
Solution 7 - Iissaurabh behlView Answer on Stackoverflow
Solution 8 - IisPatView Answer on Stackoverflow
Solution 9 - Iisuser2720368View Answer on Stackoverflow
Solution 10 - IisKrunalView Answer on Stackoverflow
Solution 11 - IisSatrajitView Answer on Stackoverflow
Solution 12 - IisTravis HeeterView Answer on Stackoverflow
Solution 13 - IisSerge RogatchView Answer on Stackoverflow
Solution 14 - IisPJ3View Answer on Stackoverflow
Solution 15 - IisRaúl OtañoView Answer on Stackoverflow
Solution 16 - IisAdam OmaraView Answer on Stackoverflow
Solution 17 - IisHarish PatilView Answer on Stackoverflow