How to set xampp open localhost:8080 instead of just localhost
Solution 1
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.
Solution 2
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
Solution 3
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.
Solution 4
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
Samik Sengupta
Updated on December 05, 2020Comments
-
Samik Sengupta over 3 years
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. SetListen 8080
. Nowhttp://localhost:8080/xampp/
works as expected but the Admin button still openshttp://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
? -
Pavel V. over 9 yearsOr in GUI: Control Panel - Config - Service and Port Settings and set the port - that way XAMPP will overwrite this itself.
-
pcs almost 9 yearsHi @john: If i follow your answer, still i just confused.. because .. in my Xampp folder, there is no file called xampp-control.ini .. so can you help me?.. thanks
-
Sin about 4 yearsIn Version 3.2.4, you can set the port @ Control panel > config > services and port settings > Apache > Main Port