Search code examples
iisiis-7.5wampwampserver

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.


Solution

  • 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