Sunday, 10 August 2014

Wamp, change Apache server to run to other port instead of default

Some times port 80 is already occupied by IIS or any other program. In that case you can simple update port no. to run Apache server on, to do this :

Click Wamp server icon
Wamp Server
 in your system tray, go to apache-> httpd.confg , edit this file and place port no. in these lines by finding in file i.e.
#Listen 12.34.56.78:80
Listen 0.0.0.0:80
Listen [::0]:80
e.g. we can change port 80 to 8080 as :
#Listen 12.34.56.78:8080
Listen 0.0.0.0:8080
Listen [::0]:8080


enjoy :)