Questions
leon21leon21asked 4 months ago
How to change XAMPP apache server port?
1

1 Answers

Accepted
codegenlabcodegenlabanswered 4 months ago
You need to follow following steps,
  1. Go to XAMPP installation location (ex: C:\xampp\).
  2. Find & open the “httpd.conf” (path: C:\xampp\apache\conf\)
  3. Find these two command and change port number,
Listen 80                   //check line number 60
ServerName localhost:80     //check line number 228
After you change the port number save file and restart the xampp server.
1