How to Change the Port Number for an Apache Server on WAMP

By default, when running the WAMP application on an Apache server, the localhost port is set to port 80. However, you can adjust this setting on your server by editing the \"http.conf\" and entering a new port number. By changing the WAMP localhost port, you will be instructing your Apache server to send out communications from a different location.

Step

Log on to your Apache server computer with an administrator account.

Step

Open the Start menu and click on the \"My Computer\" icon.

Step

Navigate to the C:\wamp\Apache2\conf directory on your server's main hard drive or the drive where WAMP has been previously installed.

Step

Find the file labeled \"http.conf\" and double-click on it to open it in the Windows Notepad application.

Step

Press the \"control\" and \"F\" keys at the same time to launch the search utility.

Step

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.

Step

Change \"80\" to the port of your choice and then save the \"http.conf\" file to update your server. You may need to restart your server in order for the new port to be recognized.