Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I can't access my localhost with xampp

Tags:

apache

xampp

Initially xampp was working fine and I could access my localhost with no problem. I even set my passwords to access the server. For a while everything was great, xampp asked me my credentials, I inserted them and I was taken to my administrator page. No problem.

One time though, I had to change the ports used for Apache, but afterwards it didn't complain anymore.

Now I receive a message saying Google Chrome could not connect to my localhost. Everything seems to be working so I don't know what's wrong.

This is what I see on xampp control panel:

Initializing Control Panel

14:57:04  [main]    Windows Version: Windows Vista Home Premium SP2 32-bit
14:57:04  [main]    XAMPP Version: 1.8.3
14:57:04  [main]    Control Panel Version: 3.2.1  [ Compiled: May 7th 2013 ]
14:57:04  [main]    You are not running with administrator rights! This will work for
14:57:04  [main]    most application stuff but whenever you do something with services
14:57:04  [main]    there will be a security dialogue or things will break! So think 
14:57:04  [main]    about running this application with administrator rights!
14:57:04  [main]    XAMPP Installation Directory: "c:\xampp\"
14:57:04  [main]    Checking for prerequisites
14:57:04  [main]    All prerequisites found
14:57:04  [main]    Initializing Modules
14:57:04  [main]    Starting Check-Timer
14:57:04  [main]    Control Panel Ready
14:57:06  [Apache]  Attempting to start Apache app...
14:57:06  [Apache]  Status change detected: running
14:57:08  [mysql]   Attempting to start MySQL app...
14:57:08  [mysql]   Status change detected: running
like image 505
Mary Avatar asked Nov 14 '13 15:11

Mary


2 Answers

You will need to specify the new port number in your browser: http://localhost:10101 if the port is 10101.

like image 148
Aaron Digulla Avatar answered Jan 03 '23 15:01

Aaron Digulla


You have to check the port number and add it along with the localhost. For example the port that I use is 8080, So it has to be localhost:8080/dashboard

like image 44
2rahulsk Avatar answered Jan 03 '23 15:01

2rahulsk