How to change apache port in wamp server

  1. Open the http.conf file found in your /wamp/bin/apache/Apache2.2.17/conf/ folder.
  2. Search for the line that shows Listen 80 and change it to Listen 81 or whatever port you want to change Apache to.
  3. Save and Close the file.
  4. Open the wampmanager.ini file in the /wamp/ folder.
  5. Search for localhost and when you find the lines that shows Parameters: “http://localhost/”; Glyph: , change the last parameter to http://localhost:81/ or whatever port you have changed for Apache.  This may come up in multiple places. This is to make sure that wamps links work properly.
  6. Save the file and close.
  7. Do the same thing with the wampmanager.tpl file and you are done :)
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s