iisexpress局域网内调试网站
2015-08-31 14:46
603 查看
1、找到IISExpress目录
IISExpress\config\applicationhost.config
2、加上下面配置文件中的红色字体的代码
<site name="RMS.Web" id="18">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\workgroup\RMS.Web" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:61730:localhost" /><binding protocol="http" bindingInformation="*:61730:*" /> </bindings>
</site>
3、用管理员打开VS,运行程序
4、在局域网内的另一台机器上,打开浏览器,输入ip地址加端口号,从上面配置文件中可以看到程序端口号为:61730,现在你可以正常访问iisexpress中的网站了
IISExpress\config\applicationhost.config
<site name="RMS.Web" id="18"> <application path="/" applicationPool="Clr4IntegratedAppPool"> <virtualDirectory path="/" physicalPath="C:\workgroup\Web" /> </application> <bindings> <binding protocol="http" bindingInformation="*:61730:localhost" /> </bindings> </site>
2、加上下面配置文件中的红色字体的代码
<site name="RMS.Web" id="18">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\workgroup\RMS.Web" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:61730:localhost" /><binding protocol="http" bindingInformation="*:61730:*" /> </bindings>
</site>
3、用管理员打开VS,运行程序
4、在局域网内的另一台机器上,打开浏览器,输入ip地址加端口号,从上面配置文件中可以看到程序端口号为:61730,现在你可以正常访问iisexpress中的网站了
相关文章推荐
- 技术揭秘二:探讨12306两地三中心混合云架构
- 分布式Web服务器架构
- freemarker常见语法大全
- 网站前端技术学习 笔记
- 几个Web server的HA架构资料
- 关于网站用户接入,单点登录,discuz,ucenter
- 矢量图网站
- 网站基本运营模式和方法
- 网站或系统中直接嵌入天气信息
- 使用七牛的镜像存储功能可能会导致网站被K
- 如何查看别人网站的访问量
- ecshop 网站标题不更新或内容不更新
- 网站优化:引用CDN公共库
- 网站或系统中直接嵌入天气信息
- rsa 网站openssl加密解密 使用心得
- 架构之路(一):目标
- IIS日志-网站运维的好帮手
- IIS日志-网站运维的好帮手
- 常用网站开发工具收集
- 架构师之路(39)---IoC框架