简体   繁体   English

当IIS上的主机应用程序将localhost更改为pc的本地IP地址

[英]change localhost to local ip adress of pc when host application on IIS

Hey, I host my asp.net application with wcf service on IIS 7 and I want that this location could be possible at adress of my computer in lan, that other in network could get to it.. It is possible? 嘿,我在IIS 7上用wcf服务托管了asp.net应用程序,我希望这个位置可以在局域网中我的计算机地址上找到,而网络中的其他地址也可以到达它。

Now it looks like: http://localhost/wcfAx/Service1.svc How to do like that : http://192.168.2.33/wcfAx/Service1.svc ?? 现在看起来像: http://localhost/wcfAx/Service1.svc怎么做: http : //192.168.2.33/wcfAx/Service1.svc

我认为没有理由不起作用...假设192.168.2.33是您网络上计算机的地址,并且您的防火墙允许通过端口80进行通信。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM