How to enable external request in IIS Express?

前端 未结 26 1815
借酒劲吻你
借酒劲吻你 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条回答
  •  清歌不尽
    2020-11-22 02:49

    There's a blog post up on the IIS team site now explaining how to enable remote connections on IIS Express. Here is the pertinent part of that post summarized:

    On Vista and Win7, run the following command from an administrative prompt:

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

    For XP, first install Windows XP Service Pack 2 Support Tools. Then run the following command from an administrative prompt:

    httpcfg set urlacl /u http://vaidesg1:8080/ /a D:(A;;GX;;;WD)

提交回复
热议问题