Popular Posts

Sunday, June 21, 2015

How to Change the Apache Port in XAMPP

Edit the httpd.conf file to change the port Apache listens on.
(1) Locate the file httpd.conf. This file should be found in C:\xampp\apache\conf (or whichever directory you installed XAMPP in – mine is on my D-drive because that is where I installed XAMPP)



(2) Open the file using a text editor or programmer’s editor 




(3b) Change the port number (80) to a different number (for this tutorial, I changed it to 50500).
(3c) Save the file.
(4) Restart the Apache Server to have the change take effect. 



No comments: