Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xampp: web browser won't show the localhost page

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.

like image 461
AnonymousCoder Avatar asked Jun 13 '12 18:06

AnonymousCoder


People also ask

Why localhost is not working in XAMPP?

Resolve Apache port conflicts by changing your listening port to 8080. Include the listening port in the address when accessing localhost. Change your MySQL port to 3307 if another application is blocking the default port 3306.

How can I view XAMPP in browser?

Now, to see the script output, open the XAMPP control panel and start Apache to host the local webserver, where our script will be running. 4. Now navigate to your browser and type in “localhost/demo/” in the address bar to view the output.


1 Answers

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.

like image 127
user1092042 Avatar answered Sep 28 '22 03:09

user1092042