{"id":515,"date":"2011-12-11T00:02:32","date_gmt":"2011-12-11T05:02:32","guid":{"rendered":"http:\/\/blog.xfloyd.net\/?p=515"},"modified":"2012-06-04T20:14:21","modified_gmt":"2012-06-05T01:14:21","slug":"change-port-80-to-81-on-wampserver","status":"publish","type":"post","link":"http:\/\/xfloyd.net\/blog\/?p=515","title":{"rendered":"Change port 80 to 81 on Wampserver"},"content":{"rendered":"<p>I assume your server Configuration:<br \/>\nApache Version: 2.2.<br \/>\nPHP Version:\u00a0\u00a0 5.2.6<\/p>\n<div id=\"containserviceslearn\">\n<p>Now that you have WampServer 2.0 installed, you\u2019ll want to use it along side\u00a0\u00a0 with other servers such as IIS. This is easily done by changing the port that\u00a0\u00a0 WampServer 2.0 listens to. I suggest changing the port from 80 to 81.<br \/>\n<!--more--><br \/>\nUse Notepad or WordPad to open the files below.<\/p>\n<p>Open the httpd.conf file for the Apache server. On my machine, it\u2019s located\u00a0\u00a0 here C:\\wamp\\bin\\apache\\apache2.2.8\\conf\\httpd.conf<br \/>\nDo a search for &#8220;Listen\u00a0\u00a0 80&#8243;and replace it with &#8220;Listen 81&#8221;.<br \/>\nSave and close the file.<\/p>\n<p>Open the wampmanager.tpl file. On my machine, it\u2019s located here:\u00a0\u00a0 C:\\wamp\\wampmanager.tpl<br \/>\nDo a search for &#8220;http:\/\/localhost\/&#8221; and replace it\u00a0\u00a0 with &#8220;http:\/\/localhost:81\/&#8221; (There are four total).<br \/>\nDo a search for\u00a0\u00a0 &#8220;${w_testPort80}&#8221; and replace it with &#8220;${w_testPort81}&#8221;.<br \/>\nSave and close the\u00a0\u00a0 file.<\/p>\n<p>Open the testPort.php file. On my machine, it\u2019s located here:\u00a0\u00a0 C:\\wamp\\scripts\\testPort.php<br \/>\nDo a search for &#8220;80&#8221; and replace it with &#8220;81&#8221;\u00a0\u00a0 (There are three total).<br \/>\nSave and close the file.<\/p>\n<p>Open the english.lang file. On my machine, it\u2019s located here:\u00a0\u00a0 C:\\wamp\\lang\\english.lang<br \/>\nDo a search for \u201c$w_testPort80 = \u2018Test Port 80&#8243;;\u201d\u00a0\u00a0 and replace it with \u201c$w_testPort81 = &#8220;Test Port 81&#8221;;.<br \/>\nSave and close the\u00a0\u00a0 file.<\/p>\n<p>Right click on the WampServer icon and click on \u201cExit\u201d.<br \/>\nRestart your\u00a0\u00a0 WampServer.<\/p>\n<p>Congratulations! You have now changed your WampServer 2.0 to port 81. All of\u00a0\u00a0 your links (localhost, phpMyAdmin, SQLiteManager) are configured to the new port\u00a0\u00a0 and you can even test port 81 by going to the Apache Services.<br \/>\nIf you found\u00a0\u00a0 this helpful (or if you didn\u2019t), please let me know.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>I assume your server Configuration: Apache Version: 2.2. PHP Version:\u00a0\u00a0 5.2.6 Now that you have WampServer 2.0 installed, you\u2019ll want to use it along side\u00a0\u00a0 with other servers such as IIS. This is easily done by changing the port that\u00a0\u00a0 WampServer 2.0 listens to. I suggest changing the port from 80 to 81.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4],"tags":[],"_links":{"self":[{"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/515"}],"collection":[{"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=515"}],"version-history":[{"count":5,"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/515\/revisions"}],"predecessor-version":[{"id":614,"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/515\/revisions\/614"}],"wp:attachment":[{"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=515"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}