IIS Express被局域网访问

在 文件夹

C:UsersadministratorDocumentsIISExpressconfig

下面

applicationhost.config

文件里

找到相应的项目 如

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

编辑如下

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

<binding protocol="http" bindingInformation="*:7752:192.168.1.10" />
</bindings>

保存后即可

原文地址:https://www.cnblogs.com/zhshlimi/p/6594636.html