The reasons why localhost(XAMPP) don't work when you type http://localhost/ in the browser even after successful installation of XAMPP.
Issue 1. The port number 80 may be occupied by IIS or Skype.
Note: By default, the IIS will occupy the port number 80 when you install the OS and also when you install XAMPP, the Apache web server will occupy port number 80 by default. So there rises the real conflict. On the same port you can not run two servers. So to fix this issue, you can do the following:
Go to C:\xampp\apache\conf
In this location you will find a configuration file(httpd.conf). Open it and do the following changes. Look for the following line in httpd.CONF file
Reade More >>
Issue 1. The port number 80 may be occupied by IIS or Skype.
Note: By default, the IIS will occupy the port number 80 when you install the OS and also when you install XAMPP, the Apache web server will occupy port number 80 by default. So there rises the real conflict. On the same port you can not run two servers. So to fix this issue, you can do the following:
Go to C:\xampp\apache\conf
In this location you will find a configuration file(httpd.conf). Open it and do the following changes. Look for the following line in httpd.CONF file