Xampp: web browser won't show the localhost page

100,468

Solution 1

Try doing a netstat -a on your cmd and see if there are any other services which are running on port 80.You can also use netstat -b to find the name of the service however this requires cmd to be run as administrator. The most likely culprit is that there are some other services running on this port which do not allow Xampp to start up properly? Do you have a service like skype . If so that is the reason your not able to access particular page. An other thing you can do is to go into httpd.conf and change the listen to some other port other than 80 and test it out.Dont forget to add localhost:your selected port once you change the port to test it out.

Solution 2

If you changed your port number, then type localhost:'port number' to get to the xampp page.

ex: If your port number is 8080, then type localhost:8080.

Solution 3

Its possible that IIS or any other program (like Skype) causes Apache not to start. Although it shows "running" its actually not running.

To solve this, there is an easy trick: Install Apache as an service and restart your computer. This wil work most of the time, since there are a lot of programs that reserve port 80 its hard to find these programs and disable them.

Solution 4

if it's not the port, then go to htdocs, delete dashboard file and index file and you are good to go! :)

Solution 5

If you changed your apache listining port from 80 to 8080 ,then . . . write localhost:8080/your_URL ... it will work :)

Share:
100,468
AnonymousCoder
Author by

AnonymousCoder

Updated on October 17, 2020

Comments

  • AnonymousCoder
    AnonymousCoder over 3 years

    I have installed xampp on Windows7(64bit).I want to work with PHP, Apache and MySql. The server Apache and the MySql services are running properly on the Xampp control panel. But when I run the localhost on my web browser it just shows connecting. Nothing else. Compare to previous enviroment it runs well with IIS.

  • bumperbox
    bumperbox almost 12 years
    If it is skype, go into Skype > Tools > Options > Advanced > Connections and remove the tick that says use port 80 and 443
  • KoU_warch
    KoU_warch almost 12 years
    Yeap. Hate you skype, the first time i encountered this issue i had to view windows log to see why the apache did not start