IIS Express - 无法外部访问

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/yuxuac/article/details/83541834

修改applicationhost.config,添加ip地址(192.168.86.11)的binding.

<bindings>
    <binding protocol="http" bindingInformation="*:49524:localhost" />
    <binding protocol="http" bindingInformation="*:49524:192.168.86.11" />
</bindings>

applicationhost.config一般在:D:\YourSolution\.vs\config\applicationhost.config

https://stackoverflow.com/questions/5433786/configure-iis-express-for-external-access-to-vs2010-project?noredirect=1

猜你喜欢

转载自blog.csdn.net/yuxuac/article/details/83541834