如何在IIS Express中启用外部请求? [英] How to enable external request in IIS Express?
问题描述
如何在IIS Express中启用远程请求? 斯科特·格思里(Scott Guthrie)认为这是可能的,但是他没有说怎么做.
How can I enable remote requests in IIS Express? Scott Guthrie wrote that is possible but he didn't say how.
推荐答案
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:
在Vista和Win7上,从管理提示符下运行以下命令:
On Vista and Win7, run the following command from an administrative prompt:
netsh http add urlacl url=http://vaidesg:8080/ user=everyone
对于XP,首先安装Windows XP Service Pack 2支持工具.然后在管理提示下运行以下命令:
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)
这篇关于如何在IIS Express中启用外部请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!