Jump to content

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/122341-wamp-server-help/
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/122341-wamp-server-help/#findComment-632164
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.