从Intranet上的另一台计算机访问IIS 7.5 Express [英] Accessing IIS 7.5 Express from another machine on the intranet
问题描述
我在带有SP1 Beta和IIS 7.5 Express的VS 2010 Pro上运行.一切正常,但是我尝试从我们的Intranet上的另一台计算机访问该站点,但似乎看不到任何东西,我只是得到了一个:
I am running on VS 2010 Pro with SP1 Beta and IIS 7.5 Express. Everything is working fine, but I am trying to access the site from another machine on our intranet and it does not seem to see anything, I simply get a:
糟糕!此链接似乎已损坏."
"Oops! This link appears to be broken."
Chrome中的
错误.即使我在机器上并输入:
error in Chrome. Even if I am on the machine and type in:
123.45.6.8/SiteName
123.45.6.8/SiteName
代替:
localhost/SiteName
localhost/SiteName
(有效),我得到了错误.可以使用IIS 7.5 Express吗?谢谢.
(which works), I get the error. Can this be done with IIS 7.5 Express? Thank you.
推荐答案
IIS Express默认情况下仅支持本地连接-但是,根据ScottGu的声明,应该有一个显式启用远程连接的选项.
IIS Express by default only supports local connections - according to a statement by ScottGu, there should be an option to explicitly enable remote connections, however.
See this blog post: Serving External traffic with WebMatrix for how to do this.
这篇关于从Intranet上的另一台计算机访问IIS 7.5 Express的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!