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

111,529

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

enter image description here

Step-2: Click on Service and Port Settings button

enter image description here

Final step: Change your port and Save

enter image description here

Share:
111,529
Samik Sengupta
Author by

Samik Sengupta

Updated on December 05, 2020

Comments

  • Samik Sengupta
    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. 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 ?

  • Pavel V.
    Pavel V. over 9 years
    Or in GUI: Control Panel - Config - Service and Port Settings and set the port - that way XAMPP will overwrite this itself.
  • pcs
    pcs almost 9 years
    Hi @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
    Sin about 4 years
    In Version 3.2.4, you can set the port @ Control panel > config > services and port settings > Apache > Main Port