无法从打开服务器防火墙的 LAN 访问 IIS 7 上托管的站点
我有一个托管在 IIS 7 上的 MVC 站点。从服务器本身访问时它工作正常。
但是,当我尝试从与服务器相同的 LAN 访问它时,无法访问网站。
接下来,我禁用了服务器上的 Windows 防火墙,并且可以从 LAN 内访问该站点。
我希望启用防火墙并能够访问该网站。
我必须在防火墙中启用什么?
谢谢。
I have an MVC site hosted on IIS 7. It works fine when accessed from the server itself.
However when I tried to access it from the same LAN as the server's the website wasn't reachable.
Next I disabled the windows firewall on the server and the site was accessible from within the LAN.
I would like to have the firewall enabled AND be able to access the site.
What do I have to enable in the firewall?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
好吧,这是一个老问题,但我刚刚找到了您需要打开的入站规则。希望截图可以帮助其他人。
Win7-firewall-inbound-BranchCache 内容检索 (HTTP-In)
Ok, it was an old question, but I just found the inbound rule you need turn on. Hope the screenshot can help others in future.
Win7-firewall-inbound-BranchCache Content Retrieval (HTTP-In)
尝试在 Windows 防火墙中打开端口。进入防火墙设置中的“高级设置”,检查入站规则并根据需要添加端口。
Try opening the port in Windows Firewall. Go to "Advanced Settings" in the Firewall setup and check the inbound rules and add the port if necessary.
我遇到了完全相同的问题,但我系统中的防火墙是由 ESET smart security 管理的。就我而言,我无法从启用防火墙的计算机访问该站点。我想添加我的答案,以便它可以帮助那些在 ESET 中遇到此问题的人。
I had the exact same issue, but the firewall in my system is managed by ESET smart security. In my case, I was not able to access the site from my machine with the firewall enabled. I wanted to add my answer so that it helps someone who is facing this issue with ESET.