In windows if you are trying to change default port from 80 to something else than you can change here as following, Open httpd.conf file from this directory C:\wamp64\bin\apache\apache2.4.39\conf You will see bellow lines in httpd.conf file. Change your Listen port from 80 to as your wish. #Listen 12.34.56.78:80 Listen 0.0.0.0:81 Listen [::0]:81 Also , you can change apache port from wamp configurations, Open this file C:\wamp64\wampmanager.conf In this file you can search for bellow lines, [apacheoptions] apacheUseOtherPort = "on" apachePortUsed = "81" Change port from here and you are good to go by restarting your wamp server.