Apache, XAMPP

Change Apache Ports in XAMPP

Change port for Apache

1. Open x:xamppapacheconfhttpd.conf file for edit.

2. Find Listen 80 and change it to Listen 8081.

3. Find ServerName localhost:80 and change it to ServerName localhost:8081.

4. Save the file.

5. Restart Apache.

 

Change port for SSL

1. Open x:xamppapacheconfextrahttpd-ssl.conf file for edit.

2. Find Listen 443 and change it to Listen 432.

3. Find <VirtualHost _default_:443> and change it to <VirtualHost _default_:432>.

4. Find ServerName localhost:443 and change it to ServerName localhost:432.

5. Save the file.

6. Restart Apache.