解决 IIS Express 启动错误:“拒绝访问”问题

1|0报错

Starting IIS Express ...
stderr: Failed to register URL "http://localhost:8378/" for site "app-3344e220-8b03-465c-8df1-3c41981352a1"
application "/". Error description: 拒绝访问。 (0x80070005)
Unable to start iisexpress.
拒绝访问。
For more information about the error, run iisexpress.exe with the tracing switch enabled (/trace:error).

2|0解决方案

2|1删除同端口号的URL保留

检查特定 URL 的保留:

netsh http show urlacl

删除保留:

netsh http delete urlacl url=http://+:8378/

__EOF__

本文作者HookDing
本文链接https://www.cnblogs.com/HookDing/p/18218410.html
关于博主:评论和私信会在第一时间回复。或者直接私信我。
版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
声援博主:如果您觉得文章对您有帮助,可以点击文章右下角推荐一下。您的鼓励是博主的最大动力!
posted @   HookDing  阅读(291)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
点击右上角即可分享
微信分享提示