coder500 Posted September 2, 2008 Share Posted September 2, 2008 I have both IIS and apache(part of Wamp). Both is listening to port 80. I want to change the listening port of apache. But I have no idea how to do this. I know I can edit apache httpd conf file. But to which port address I have to change this and how can I access php files later. Any help will be very much appreciated. Thanks Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted September 2, 2008 Share Posted September 2, 2008 You can change the port Apache uses to any port that is available, for example port 8080. To do so make sure WAMP has stopped. Now find Apaches httpd.conf file that WAMP uses. Find the following line Listen 80 (note: It may differ slightly). Change the number 80 to 8080 Save the httpd.conf. Now start WAMP. As you have changed the port WAMP listens on you cannot use http://localhost to access WAMP. Instead you have to use http://localhost:8080 NOTE: the port number MSUT be present in the url. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.