WIN10 Visual Studio IIS Express LAN debug, default only localhost

Source: Internet
Author: User

vs2015 self-brought iisexpress default only localhost, so you can not debug across the LAN win10/win7 vs2015 iisexpress support LAN access find the configuration file under the project directory, E:\projects\ Visual Studio2015\xxprojectname\.vs\config opens the ApplicationHost.config file with Notepad and finds: <bindings> <binding protocol= "http" bindinginformation= "*:58975:localhost"/> </bindings>Add a line below the binding, such as: <bindings> <binding protocol= "http" bindinginformation= "*:58975: localhost"/> (cannot be deleted) <binding protocol= "http" bindinginformation= "*:58975: 192.168.0.172"/><!--Join this line - </bindings>After the addition of the Save, and then restart Iisexpress, follow the above steps, under the Win7 operating system has been able to access the normal, but the test win10 did not respond, you need to run the following statement: Open the Run window, enter Cmd,enter, and then execute the command below. (open as Administrator) netsh http add urlacl url=http://192.168.0.172: 58975/user=everyoneClick Debug to see localhost and 192.168.0.172 have opened the service.

WIN10 Visual Studio IIS Express LAN debug, default only localhost

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.