0
点赞
收藏
分享

微信扫一扫

VS的IISExpress配置通过IP访问程序

年夜雪 2022-06-30 阅读 20

打开C:\Users\用户\Documents\IISExpress\config\applicationhost.config

获取本地VS项目运行起来的端口,比如VS的IISExpress配置通过IP访问程序_搜索

然后在文本里搜索  24395 

VS的IISExpress配置通过IP访问程序_搜索_02

 

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

<binding protocol="http" bindingInformation="*:24395:192.1.xxx.xxx" />    //新增一条
</bindings>
</site>

 

管理员运行CMD:执行netsh http add urlacl url=http://192.1.xxx.xxx:21459/ user=everyone    

举报

相关推荐

0 条评论