How to fix Port 80 Conflict for WAMP

If WAMP (http://www.wampserver.com/en/) icon is orange wampserver icon yellow and you cannot access localhost/phpMyAdmin in the browser that means another service is using the same port that Apache requires to function. By default, Apache is set to listen on port 80. Luckily, you can resolve this issue quickly just by changing port number instead of disabling or removing any service.

How to fix Port 80 Conflict for WAMP

How?. Follow the steps below.

Windows services that listen on port 80
  • Internet Information Server (IIS)
  • Microsoft HTTPAPI/2.0
  • SQL Server Reporting Services
  • Web Deployment Agent Service
  • World Wide Web Publishing Service

Right click WAMP icon in the system tray and select Tools.

WAMPSERVER right click tools

Here you can change the port number for Apache and MySQL.

WAMPSERVER change port option

Select Test Port 80 for Apache.

WAMPSERVER test port 80

A command prompt will open. You can see which program is using the port. Suppose it’s used by Internet Information Services (IIS).

WAMPSERVER error port 80 used

Select Use a port other than 80.

WAMPSERVER Use a port other than 80

A small window will open. You need to enter the desired port number for Apache. Enter 8080.

desired port number for Apache WAMPSERVER

Now you can test port 8080 as well to confirm Apache is using the port.

WAMPSERVER Use a port other than 80


You can edit httpd.conf file to change Apache port as well. This file is located in C:\wamp64\bin\apache\apache\conf directory. You can directly access this file by left clicking WAMP icon as shown in the screenshot below.

WAMPSERVER edit httpd.conf

This will open up the file in text editor. Search for and you will see the following lines.
Listen [::0]:80

Just replace port number which is after: from 80 to 8080. You can use any number you like. Save the file.
Listen [::0]:8080

Restart the WAMPServer. The icon should change from orange wampserver icon yellow to green wampserver green icon. Now you can access Localhost just by typing http://localhost:8080.

Missing VCRUNTIME140.dll and/or MSVCR110.dll error for WAMP

How to fix missing DLL error for WAMP