Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i've been using classic asp so far (using iis) and i want to start with php (xampp). is it possible to run both (local) servers at the same time?

i think the problem is that both are pointing to localhost.

thanks in advance

share|improve this question

migrated from Dec 13 '10 at 11:26

This question came from our site for professional and enthusiast programmers.

up vote 2 down vote accepted

Yes. Just set up Xampp to use a different port. Say port 4321. Then you'll have IIS on http://localhost/, and Xampp on http://localhost:4321/

Then you can play with Xampp in total isolation from IIS.

If you've already installed Xampp, have a look in the httpd.conf file (in xampp\apache\conf) -- I have:

Listen 4242

Under the "listen" section at the top. Change that number to whatever port number you want that doesn't clash with anything, then restart Apache using the Xampp control panel.

share|improve this answer

You will need to configure apache or iis to use a different port.

The instructions below will show you hot to change the TCP port on APACHE.

The instruction below will show you how to change the TCP port on IIS.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.