Cannot Connect to Localhost in Windows - sql

How can I access my local phpmyadmin with my web browser? I tried it on both Firefox and Chrome and both cannot load. I have XAMPP and I am working on Vista.

Is your XAMPP working?
Try: http://localhost/
You should see the XAMPP console and from there you can go to phpmyadmin.
If you don't see the console is because XAMPP is not running.

Try to check the port that you using :
Open the file [XAMPP Installation Folder]/apache/conf/httpd.conf.
Then search for the string “ServerName”
For example in my httpd.conf the result is : ServerName localhost:8081
Then I use http://localhost:8081/phpmyadmin

Related

Apache running on XAMPP, but localhost is not reachable

I installed XAMPP and started the Apache Server and MySQL. However, if I try to access https://localhost/, it just shows a blank page in Firefox. I am on a Windows 10 machine. I already tried to change the localhost port from 80 to 8080, but it says that it cannot open the page this way.
Any ideas what the reason could be?

Localhost not working Mac OS X Yosemite 10.10.5

I'm setting up localhost and "localhost" by itself does print
It works!
But when trying to access "http://localhost/Users/Marcel/Sites/hello.html" it outputs the 404 not found error. I followed this https://discussions.apple.com/docs/DOC-3083.
First you must install a Web Server like MAMP, and follow this easy procedure:
Put your files in the directory Applications/MAMP/htdocs
Open MAMP
Configure a port to listen HTTP (like 8080)
Start MAMP
Open browser and go to http://localhost:YOUR_PORT/FileName.extension

Unable to connect to localhost Apache Ubuntu

I run xampp (apache) on Ubuntu 12.04. I've got localhost declared as ServerName localhost in httpd.conf. So far, I've not experienced problems with this but now, the browser Firefox is unable to connect to localhost. What could the problem be? Thanks.
OK. Found the answer and responding to myself in case it could be of interest to others; Actually, Apache server was not running. When I started xampp, it said Apache is already running but in fact wasn't due to the fact that the file logs/http.pid was corrupt. I deleted this file and then restarted xampp. This time it did launch the apache server and everything is fine.

How to set xampp open localhost:8080 instead of just localhost

I use XAMPP 1.7.3. Apache and MySQL installed. Nothing else.
Apache installed on default port 80. Clicking on Admin next to Apache opens http://localhost/xampp/. Which works as expected.
I navigated to xampp/apache/conf/httpd.conf and edited it. Set Listen 8080. Now http://localhost:8080/xampp/ works as expected but the Admin button still opens http://localhost/xampp/ which does not open anything. I have restarted the computer after doing so with no results.
How to make XAMPP apache admin open localhost:8080/xampp ?
The port that the Admin button references is configurable. In the XAMPP install folder there is a xampp-control.ini file. Changing the Apache entry under [ServicePorts] will affect the url the Admin button opens.
[ServicePorts]
Apache=8080
I believe the admin button will open the default configuration always. It simply contains a link to localhost/xampp and it doesn't read the server configuration.
If you change the default settings, you know what you changed and you can enter the URL directly in the browser.
you can get loccalhost page by writing localhost/xampp or by writing http://127.0.0.1 you will get the local host page. After starting the apache serve that can be from wamp, xamp or lamp.
Steps using XAMPP GUI:
Step-1: Click on Config button
Step-2: Click on Service and Port Settings button
Final step: Change your port and Save
I agree and found this file under xammp-control the type of file is configuration.
When I changed it to 8080 it worked automagically!
Open XAMPP look below the X to close the program there is a Config option click it then click service and port settings then under Apache change your main port to whatever you changed it to in the config file then click save and your good to go.

wamp webserver access the root directory

I was using xampp 2.4 webserver on my windows vista. I installed wamp 2.0 recently
the problem is : when I type http://localhost or http://127.0.0.1 I get the root directory for xampp not for the wamp
any idea about how to reach the wamp root folder from the browser ??
thank you for your help
I guess xampp is probably running on port 80 which is the default.
You need to edit your Apache config for WAMP and set the port to something like 8080
This link might help:
http://www.ehow.com/how_5178964_change-number-apache-server-wamp.html
Oh and make sure you also start WAMP.