配置IISExpress外部访问

1.修改IISExpress配置文件

   用户/文档/IISExpress/config/applicationhost.config

    bindings节点增加本地ip设置

    <binding protocol="http" bindingInformation=":端口号:本地IP" /> 

2.修改Http.sys

 

   netsh http add urlacl url=http://本机ip:8080/ user=everyone

3.更改防火墙

   cmd中打开firewall.cpl

 

posted @ 2016-03-17 11:41  darkblue  阅读(164)  评论(0)    收藏  举报