Unable to start web site IIS HRESULT: 0x80070020)


I'm trying to publish a web site with self created SSL certificate on my own IP. After I added the site to the IIS and try to run in I get this error and I'm unable to start web site.

Internet Information Services (IIS) Manager - The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

What can be the reason of that problem?

asked on Stack Overflow Jun 3, 2014 by Tartar • edited Dec 2, 2015 by RB.

3 Answers


Check this http://support.microsoft.com/kb/890015/en-us

Another process is using port 80 or port 443 on the computer that is running IIS. By default, IIS uses port 80 as the default TCP port and port 443 for Secure Sockets Layer (SSL).

answered on Stack Overflow Jun 3, 2014 by Ignacio Laborde

To further elaborate Nacho's (correct) answer, from here:

Run the following command from a command prompt to find the PID of the process which is using TCP port 80 and/or 443 (hint: for 433, it's probably Skype):

netstat -aon | find ":80" 
netstat -aon | find ":443"

You will see an output similar to the following. Remember the actual PID will vary from case to case.

TCP                LISTENING       3604 
TCP               LISTENING       3320

Now using Task Manager you can easily find out to which process the above PID belongs and take appropriate action.

answered on Stack Overflow Mar 16, 2015 by Frederik Struck-Schøning • edited Sep 11, 2017 by Frederik Struck-Schøning

Well, In my case Skype was the culprit. Yes, You read it correct skype was using port 80/443.

Below is the way to disable it-

  1. launch Skype -> Tools -> Options
  2. go to advance settings -> connection
  3. uncheck the "use port 80 and 443 ...." enter image description here
  4. save and quit your skype or restart your machine.

Hoping this will help you too :)

answered on Stack Overflow Aug 9, 2017 by Vikash Pandey

User contributions licensed under CC BY-SA 3.0