Configure IIS Express 7.5 to allow external access

Source: Internet
Author: User
Tags small web server

 

IIS Express 7.5 is a web server that can run on windows Xp. It can be used as a small web server for LAN.

Official download connection: http://www.microsoft.com/downloads/zh-cn/details.aspx? FamilyID = abc59783-89de-4adc-b770-0a720bb21deb

 

1. Modify binding:

The default configuration file is located in [my documents] \ IISExpress \ config \ applicationhost. config. Open notepad and find:

 

Add a binding below:

 

<Binding protocol = "http" bindingInformation = "*: 8080: [computer name or external IP address]"/>

 

 

Now, we can access our WebSite1 site through the computer name on the local machine. However, an error may occur during external access! The most common error is that IIS prompts 304 errors.

In this case, the following operations are required. Both 2 and 3 require administrator permissions.

 

 

2. Modify Http. sys

 

For Windows 7 or Windows Vista, run the following command as an administrator:

Netsh http add urlacl url = http: // myhostname: 8080/user = everyone

Windows XP:

Httpcfg set urlacl/u http: // myhostname: 8080 // a D :( A; GX; WD)

 

Myhostname can also be an IP address.

 

3. Modify the Firewall:

Under win7: Inbound policy-allow port: 8080-Allow allows connection.

WinXP:

 

 

 

Now, we can access our website from the outside. After testing, the speed is not low.

 

Author slmk

Related Article

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.