IIS进程无法访问正在使用的文件 [英] IIS process cannot access file in use

查看:123
本文介绍了IIS进程无法访问正在使用的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们为服务器创建了SSL证书,当我们想要启动IIS时,我们收到此错误:

We created an SSL certificate for our server and when we want to start IIS we get this error:


该进程无法访问文件,因为它正由另一个进程使用。

The process cannot access the file because it is being used by another process.

端口443似乎正在使用中。我怎么解决这个问题?或者我怎样才能了解为什么使用443端口?

Port 443 seems to be in use. How can I solve this? Or How can I learn why port 443 in being used?

推荐答案

Marc B 的评论值得一个实际答案,所以我将它贴在这里:

Marc B's comment is deserving of an actual answer, so I will paste it here:

使用 netstat -b -a 在提升的权限shell中。它将显示所有活动端口以及附加到它们的进程。如果持有您的端口的进程是svc.exe或其他多实例可执行文件,则可以添加 -o (感谢 Mike K 评论)。

Use netstat -b -a in an elevated privilege shell. It'll show all active ports and the processes attached to them. You can add -o if the process holding on to your port is svc.exe or another multi-instance executable (thanks to Mike K for the comment).

我看到这种情况发生在我的开发盒上,Skype实际上接管了端口80和/或443.关闭并禁用Skype使用和监听端口80和端口443,

I've seen this happen on my development box where Skype actually takes over port 80 and/or 443. To turn off and disable Skype usage of and listening on port 80 and port 443,


  1. 打开Skype窗口

  2. 点击工具

  3. 点击选项

  4. 点击高级

  5. 点击连接

  6. 取消选中使用端口80和443作为传入连接的替代方法选项的复选框。

  7. 点击保存按钮

  8. 重启Skype

  1. Open the Skype window
  2. Click "Tools"
  3. Click "Options"
  4. Click "Advanced"
  5. Click "Connection"
  6. Uncheck the checkbox for "Use port 80 and 443 as an alternatives for incoming connections" option.
  7. Click the save button
  8. Restart Skype

这篇关于IIS进程无法访问正在使用的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆