[Turn] [environment construction] vs-visual Studio-iis Express supports LAN access

Source: Internet
Author: User

Transferred from: http://blog.csdn.net/qiujuer/article/details/40350385

When you develop a Web page using Visual Studio, you want to allow other devices in the LAN to be accessed in debug mode for testing purposes. Although it can be deployed to the server, but cannot be debugged, even if the injection process to debug is not able to meet their own needs, so only in the visual Studio-iis Express debugging.

In this case there will be a problem, you will find that the address in your browser is always: http://localhost:32417/such; input: 127.0.0.1:32417 No! Input: Computer name (or IP): port is also inaccessible. This is a wonderful!

Key steps:

1.

Right-click IIS

2.

Select "Show All Applications"

3.

Click Edit profile (the default is to call vs Edit to make sure vs is open with Administrator privileges)

4.

Locate the "Sites" node. Find the Web site you want based on the "name" property of the child node "site".

5.

Edit the "Bindings" node to add a "binding" node based on the address of your computer on the local area network

6.

Debug, 6.2 (Make sure VS is open with administrator privileges, otherwise it will be an error, 6.1)

Figure 6.1

Figure 6.2

[Turn] [environment construction] vs-visual Studio-iis Express supports LAN access

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.