Sharovatov’s Weblog

Skype blocking 80 and 443 ports

Posted in web-development by sharovatov on 8 June 2009

When trying to start an IIS7 website, you can get the following message: “The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)”:


It’s saying it can’t access the file, but actually IIS can’t bind the ports you’ve configured in Bindings configuration. But which port?

Usually I use the following procedure to find out which application occupies the port:

  1. run netstat –ano –p tcp to get the list of opened ports, find the port that’s been taken and see which PID the port is bound to
  2. run tasklist /FI "PID eq XXX" where XXX is the found PID

So in my case the 80 and 443 ports were taken by Skype. Whenever you start Skype, it tries to bind 80 and 443 ports, and so if you start your web server later, it won’t be able to work as ports are occupied. This Skype behaviour can be turned off by deselecting “Use port 80 and 443 as alternatives for incoming connections” here:


Hope this saves somebody some time :)

Share :

Tagged with: , , ,

3 Responses

Subscribe to comments with RSS.

  1. Mike said, on 13 June 2013 at 9:41 pm

    Thanks, I don’t know how much time was saved here, but I shared this was shared with a few people on our team that had the same situation. We appreciate you taking the time to document this

  2. niki said, on 24 June 2013 at 5:33 pm

    Thanks for sharing this. It helped solved our issue!

  3. Fast And Loose Data - said, on 5 January 2015 at 5:36 pm

    […] still better than running your conversations as open text.  However, if you go this route – please disable the default 443 port used by Skype!  Known ports are very bad in the security […]

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: