How to enable external request in IIS Express?

前端 未结 26 1169
借酒劲吻你
借酒劲吻你 2020-11-22 01:55

How can I enable remote requests in IIS Express? Scott Guthrie wrote that is possible but he didn\'t say how.

26条回答
  •  -上瘾入骨i
    2020-11-22 02:37

    As a sidenote to this:

    netsh http add urlacl url=http://vaidesg:8080/ user=everyone
    

    This will only work on English versions of Windows. If you are using a localized version you have to replace "everyone" with something else, for example:

    • "Iedereen" when using a Dutch version
    • "Jeder" when using a German version
    • "Mindenki" when using a Hungarian version

    Otherwise you will get an error (Create SDDL failed, Error: 1332)

提交回复
热议问题