Local IIS access and local LAN Access

Source: Internet
Author: User

After win7 IIS is configured, the local machine can access the LAN and other users cannot access it.
   

1. After IIS is installed in win7, the local test is normal, indicating that the IIS configuration is correct. If there is a problem in the local test, check the IIS installation configuration first.
2. Check the computer network and find that the local network is normal. If Windows 7 cannot access the network, configure the network connection correctly.
3. Check the firewall settings. The error in this article is that the firewall that comes with win7 blocks the port of the website program so that remote users cannot access IIS. There are two solutions.
A. Disable the firewall. Control Panel-Windows Firewall-enable or disable Windows Firewall (not recommended)
Win7-Firewall
B. Open Control Panel-Windows Firewall-Advanced Settings-Inbound rules. In the inbound rules window, find the "branchcache Content Retrieval (http-in)" option and enable this rule. At this time, the remote user can access the site program through the website address. However, if the remote user accesses non-port 80 of IIS, the website cannot be accessed, this is because "branchcache Content Retrieval (http-in)" only enables port 80. In this case, 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 pane of the Windows Firewall window, select-"inbound rules" and select "new rule" in the right pane ", in the pop-up "new inbound rule wizard" window, execute: Port-next-select TCP and a specific local port, and fill in the port number to be opened (enter 8080 here, of course, you can also enter other ports)-next-select "allow connection"-next-select all options: domain, dedicated, shared-next-enter the name (here enter IIS: 8080) -Complete.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.