Xampp not registrating changes in httpd.conf

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Xampp not registrating changes in httpd.conf

Postby philiong » 27. August 2020 11:21

Hi guys,

I am using XAMPP as part of my software development class and have been given the task to make Xampp listen on a specific localhost port.
The issue is that when i change the Listen line in the httpd.conf file there, save and restart the apache server the ports do not work. For example, I change Listen 9090 and localhost:9090 does not respond.

In the GUI when i press go to application i am getting redirected to: http://192.168.64.2/dashboard/ which i think is the official public site. I also see the IP Address displayed at the top of the GUI window.


The part of the file i am changing currently looks like this:
Code: Select all
<IfDefine SERVER_APP_HAS_DEFAULT_PORTS>
    Listen 9090
</IfDefine>
<IfDefine !SERVER_APP_HAS_DEFAULT_PORTS>
    Listen 90
</IfDefine>


Different combinations i have tried:
Listen 9090
Listen localhost:9090
Listen 121.0.0.1:90
Listen 121.0.0.1:9090


I have also uncommented the
Code: Select all
ServerName
line to:
ServerName localhost:9090
ServerName localhost:90
ServerName 9090

I dont know what information is relevant so please dont hesitate to ask.
philiong
 
Posts: 1
Joined: 27. August 2020 10:09
XAMPP version: newest
Operating System: MACOS

Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 23 guests