
Originally Posted by
codeexploiter
You can use another port for the XAMPP Apache server like 8080 instead of using the default port 80. You need to change the config file of your XAMPP Apache Webserver for that purpose.
Before starting the following steps, shutdown the XAMPP Apache service if it is running.
(a) Open the XAMPP installation folder
(b) Open folder named 'apache' and then a folder name 'conf'
(c) In the 'conf' folder open the file 'httpd.conf' using any text editor like Notepad.
(d) Search for a string 'Listen 80' in the file
(e) After locating the line, change that 80 to some other number like 8080.
(f) Save the file and close it.
(g) Restart the XAMPP server.
(h) Open your browser and enter 'http://localhost:8080' (without quotes) if it shows the page properly the XAMPP server is running properly and listening on port 8080.
Now you can run IIS in port 80 and XAMPP's Apache in port 8080, the only thing is that if you try to access any webserver that listens on a port other than port 80 you'll have to mention that in the URL while trying to access any resource in that server.
Hope this helps.
Bookmarks