Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

What do you do in IIS if you get an error when trying to start your default web site and it says that it cannot be started because another web site may be using the same port?

For some reason I have IIS 6 and IIS 7 on the same machine. I seem to be unable to start IIS 7 but it seems I can in IIS 6. Yet, I am able to see c:\inetpub\wwwroot\iisstart.htm but I am not able to see a viable http://localhost

share|improve this question

migrated from Dec 30 '09 at 18:44

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

You need to stop one of them, or set the other to listen to a different port.

How to set the port for IIS Services

share|improve this answer

Pekka has one solution but another solution to this problem which I think is more common is to use HTTP host headers. Host headers allow multiple sites to be hosted on one port (commonly 80 for http) using one public IP address. If you are interested in how they work you should check out google for HTTP header design and IIS host headers. I've provided a link to get you started how ever for the short term.

Here is a link that shows how to set them up in IIS 6.

And another



share|improve this answer

It sounds like your setup is borked. On the other hand, Skype, among other programs grabs port 80 by default (or it certainly used to).

Try netstat -abn for more info about what is using the port.

share|improve this answer

trying netsat-abn produced a lot of output. What exactly am I looking for and what am I supposed to do once I find it?

share|improve this answer
Look for "80" in the netstat output. Best is to pipe netstat to a text file, then search the text file. You are looking for the app that has 80 hooked. – samsmith Dec 31 '09 at 5:29
OK, I think I know what process to stop now based on the process ID I got. I thought that the task manager showed a list of running processes, but when I bring up the task manager I do not see any process ID's. How do I find the right process to stop? Here is a snapshot of the task manager: here is a closer view: – Xarzu Dec 31 '09 at 19:00

Your Answer


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