Search code examples
apachexampplocalhostport

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 ?


Solution

  • 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.