Ports below 1024 can only be opened only by root, therefore the cause or reason to why server is configured to listen on this port is the need to run under the root user account to be able to listen on TCP ports lower than
Using an higher port number, meaning port number above
1024 (unprivileged port number) allows to run apache under a regular account without any specific configuration.
- Open or Log on to your Apache server computer with an administrator account.
- Click on Start menu and click on “My Computer” icon.
- Navigate to the C:wampApache2conf directory on your server’s main hard drive or the drive where WAMP has been previously installed.
- Find the file labeled “http.conf” and double-click on it to open it in the any text editor example Notepad++ or Windows Notepad.
- Hold the “control” and “F” keys at the same time to launch the search utility.
- Type “80” into the search field and hit “Find Next.” You will now be taken to the part of the configuration file where the localhost port is set.
- Change “80” to the port of your choice and then save the “http.conf” file to update your server.
You must restart your server for the new port to be recognized by the system.