Configure IIS on the local Win7 to allow LAN access

Source: Internet
Author: User

1. In the Control Panel, programs and features-click on the left to open or close Windows features, in the Pop-up dialog box, the Internet Information Services and Inter Informatin Service can be hosted Web core two items including the inside of the hook

2. In the Control Panel, click Administrative Tools, open Internet Information Services (IIS) Manager, create a new app connection pool, where the connection pool is set to classic, version net4.0 (my own general version), the advanced settings will enable 32 for the application set to True,

3. Select the Web site, in the features view on the right, double-click ASP under IIS to set the Enable parent path to True

4. Deploy the Web site under the application pool

And then you might get an error after the program runs.

Error Description: The requested content appears to be a script and therefore cannot be handled by a static file handler

Workaround: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis-i

If you run the error message "The page you requested cannot be provided because of the ISAPI and CGI Restrictions list setting on the WEB server", you may be able to resolve it as follows:

IIS root node, right, ISAPI and CGI restrictions, set the Forbidden Dotnet version entry to allow

The machine can then run the page directly to access the

However, it is found that other machines do not have access to the Web site on this machine, this time need to change the firewall, the following steps:

Control Panel, click on Windows Firewall, click Advanced Settings on the left, in the popup interface, right-click on the inbound rules to create a new inbound rule,

A. Rule type: Select Port-tcp, enter 80,B in a specific port. Operation, allow connection, C. config file, three are checked on. D. Enter IIS in the name

The site is also accessible to other machines in the local area network at this time.

Configure IIS on the local Win7 to allow LAN access

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.