Thursday, November 18, 2010

Changing Apache port to 8080

C:\xampp\apache\conf\httpd.conf:
  • Search for “Listen 80″, change to “Listen 8080″
  • Search for “ServerName localhost:80″, change to “ServerName localhost:8080″
C:\xampp\apache\conf\extra\httpd-ssl.conf
  • Search for “Listen 443″, change to “Listen 4499″
  • Search for “<VirtualHost _default_:443>”, change to “<VirtualHost _default_:4499>”
  • Search for “ServerName localhost:443″, change to “ServerName localhost:4499″
Then, you should be able to start Apache successfully through the XAMPP control panel.

No comments: