博客园站长
这是人类成长进步中记录的每一时刻

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

获取本地VS项目运行起来的端口,比如

然后在文本里搜索  24395 

 

</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    

posted on 2017-05-10 18:07  dm3344  阅读(2516)  评论(0编辑  收藏  举报