Page 1 of 1

Where is port 80 configured?

PostPosted: 01. November 2022 14:07
by lavanyadeepak
I have been examining every bit of XAMPP conf files but no where 80 is configured for my Apache. It is only 8088 and 443. Not sure where my Apache is finding this port to use.

Re: Where is port 80 configured?

PostPosted: 01. November 2022 14:33
by Froosh
From the Apache documentation (https://httpd.apache.org/docs/current/m ... tml#listen). The Listen directive is typically in the apache\conf\httpd.conf file and set to Listen 80 by default.

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 80