Windows server 2012 +IIS 8.0 Web 部署后在服务器端可以打开网页,在局域网其他电脑中打不开

原因:端口为开放,需新建Inbound Rule.

解决办法:

 1. 打开 Control Panel -->System and Security --> Windows Firewall ,在左侧菜单中点击Advanced settings

   2. 在新打开的Windows Firewall with Advanced Security 窗口中点击左侧Inbound Rules

   3. 在右侧点击New Role...

   4.在New Inbound Rule Wizard 窗口中

  Rule Type :Port,点击Next

      Protocal and Ports : Tcp, All local ports,点击Next

  Action: Allow the connection,点击Next

  Profile: Domain, Private, Public,点击Next

  Name:自定义,点击Finish

建好之后再访问,应该没问题了。

  

  

原文地址:https://www.cnblogs.com/ayqxm/p/3287079.html