How to remotely access IIS after Win7 installs IIS

  
        

After installing and configuring IIS in Window7 operating system, there is no problem in publishing the test website program locally, but remote users such as LAN cannot access the website program normally, and the prompt “Internet Explorer cannot display the web page”. Local can access IIS normally but remote can not access IIS, how to solve this situation?

The problem is solved as follows:

1, after installing IIS in win7, there is no problem with local testing. The configuration of IIS is correct. If there is a problem with the local test, first check the IIS installation configuration.

2. Check the computer network and find that the local network is normal. If win7 cannot access the network, please configure the network connection correctly.

3, check the firewall settings, this article encountered the error is because Win7's own firewall blocked the port of the website program, so that remote users can not access IIS. There are two ways to solve this.

A. Turn off the firewall. Control Panel - Windows Firewall - Turn Windows Firewall on or off (not recommended)

win7-Firewall

B, Open: Control Panel - Windows Firewall - Advanced Settings - Inbound Rules, inbound Find the "BranchCache Content Retrieval (http-in)“ option in the Rules window and enable this rule. At this time, the remote user can access the site program through the website address, but if the remote user accesses the non-80 port of IIS, there will be problems of inaccessibility, because "BranchCache content retrieval (http-in)" is only enabled. 80 ports. At this point, you only need to add a new inbound rule, and specify the port number as the port number of the website program, such as 8080. The specific method is as follows:

win7-inbound rules

In the left column of the "Windows Firewall" window, select -“inbound rules”, in the right column, select “ Rules & rdquo;, in the pop-up "New Inbound Rules Wizard" window: Port & ndash; Next & ndash; Select TCP and a specific local port, fill in the port number to be opened (fill in 8080 here, of course, Fill in the other ports) – Next – Check & & quoquo; Allow connections & rdquo; & ndash; Next & ndash; Select all options: domain, private, shared & ndash; Next & ndash; Fill in the name (fill in IIS: 8080) & mdash ; Finish it.

Copyright © Windows knowledge All Rights Reserved