XAMPP Port 80 Error In Windows 7

Matthew Shaw picture Matthew Shaw · Feb 1, 2013 · Viewed 32.8k times · Source

XAMPP 3.1.0 isn't working because port 80 is in use. I've looked around and this seems to be a common problem. I've stopped IIS, skype isn't running, web deployment agent service is running, I've changed the configuration of Apache's httpd.conf to listen to port 80 as per the second answer to this question: XAMPP PORT 80 is Busy / EasyPHP error in Apache configuration file: but still no luck. Here are the error messages in XAMPP's control panel:

2:03:49 PM [Apache] Problem detected!
2:03:49 PM [Apache] Port 80 in use by "system"!
2:03:49 PM [Apache] Apache WILL NOT start without the configured ports free!
2:03:49 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
2:03:49 PM [Apache] or reconfigure Apache to listen on a different port
2:03:49 PM [Apache] XAMPP Apache is already running on port 443
2:03:49 PM [mysql]  MySQL Service detected with wrong path
2:03:49 PM [mysql]  Change XAMPP MySQL settings or
2:03:49 PM [mysql]  Uninstall/disable the other service manually first
2:03:49 PM [mysql]  Found Path: ERROR: Not Able To Open Service Manager
2:03:49 PM [mysql]  Expected Path: c:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini mysql
2:03:49 PM [mysql]  Problem detected!
2:03:49 PM [mysql]  Port 3306 in use by "mysqld.exe"!
2:03:49 PM [mysql]  MySQL WILL NOT start without the configured ports free!
2:03:49 PM [mysql]  You need to uninstall/disable/reconfigure the blocking application
2:03:49 PM [mysql]  or reconfigure MySQL to listen on a different port
2:03:49 PM [Tomcat] Problem detected!
2:03:49 PM [Tomcat] Port 8080 in use by "c:\xampp\apache\bin\httpd.exe"!
2:03:49 PM [Tomcat] Tomcat WILL NOT start without the configured ports free!
2:03:49 PM [Tomcat] You need to uninstall/disable/reconfigure the blocking application
2:03:49 PM [Tomcat] or reconfigure Tomcat to listen on a different port

When I go to localhost it takes me to the IIS7 screen even though the service is stopped in control panel.

Answer

Rushik Parikh picture Rushik Parikh · Aug 9, 2013

Use netstat -bano in an elevated command prompt to see what apps are listening on which ports.

But usually, the following applications use port 80 in Windows:

IIS
World Wide Web Publishing service
IIS Admin Service
SQL Server Reporting services
Web Deployment Agent Service

Stop any of the above applications that are running. You can do this on the Services tab in Task Manager.