- Change IIS config – the hardest way
- Change Apache config – the easiest way
I need to configure Apache to listen to port 8080.
- Edit file D:/xampp/apache/conf/httpd.config
- Find "Listen 80" and change it to "Listen 8080"
- Find "ServerName localhost:80" and change it to "ServerName localhost:8080"
- Edit file D:/xampp/apache/conf/extra/httpd-ssl.conf
- Find "Listen 443" and change it to "Listen 4499"
- Find "VirtualHost _default_:443" and change it to "VirtualHost _default_:4499"
- Find "ServerName localhost:443" and change it to "ServerName localhost:4499"
Lastly make sure that you request XAMPP apache by specifying the port number i.e. http://localhost:8080. If not the request will be redirected to IIS, since it is listening on default port.
No comments:
Post a Comment