如何在 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.
推荐答案
IIS 团队网站上有一篇博客文章现在解释了如何在 IIS Express 上启用远程连接.以下是该帖子的相关部分摘要:
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屋!