解决 IIS Express 启动错误:“拒绝访问”问题
报错
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).
解决方案
删除同端口号的URL保留
检查特定 URL 的保留:
netsh http show urlacl
删除保留:
netsh http delete urlacl url=http://+:8378/
本文来自博客园,作者:HookDing,转载请注明原文链接:https://www.cnblogs.com/HookDing/p/18218410