Tuesday 5 March 2013

Pin It

How to Change the Port Number/address for an Apache Server on WAMP ? Shortcut Trick



Sometimes we use Wamp Server and Skype Software both &  faced many errors till date on wamp server,this is only happens due to Skype or Teamviewer softwares.Because skype always use the port no 80 and WAMP server uses this port too,this is the main problem.But these both tools are very Important for all developers,So we need a stable solution for this issue,Solution is very easy,we can easily change our Wamp server's Port address.I know there are so many tricks on google regarding this issue,but I'm sharing the easiest one.Just try it Once.

Lets walk through the process step by step :

  • Go to C:\wamp\bin\apache\apache2.2.22\conf (Change the drive letter C ,if you installed it on another Drive,and if the directory not found then check the version of Apache and replace the version with your version Like D:\wamp\bin\apache\apache2.2.8\conf )
  • Open " httpd.conf " file with Notepad.














  • Now search for " Listen 80 " and change the port number (Example : Listen 8081 )















  • Then Save the file and Close it.
You are done ,now restart your Wamp and browser .If your are facing errors then read and apply the below Changes.
  • Now if you want to see the Changed Port's Staring page then go to C:\wamp OR \wamp
  • Open " wampmanager.tpl " file 
  • Search for “http://localhost" and change all ports with new port address.
(
  • Example : http://localhost:8081/
  • http://localhost:8081/phpmyadmin/
  • http://localhost:8081/sqlitemanager/
)
  • Now save the file , Close the file and window.
  • Now restart your Wampserver & browser and enjoy Wampserver with new port,if you are facing any problem or issue then please let me know.

If this trick was helpful for you then please leave a comment , we are hungry to hear from you.Thank you,please visit again.

Subscribe Our Newsletter

Join over 5,000 people who get free and fresh content delivered automatically each time we publish.