问一下用VS起的Emulator Azure站点,可以让其他人访问吗?
-
2011年8月4日 9:08
用VS起的Emulator Azure站点,地址是127.0.0.1:81,但是换成本地局域网ip就访问不了了,例如,172.16.1.1:81
请问如何可以正常访问?我只想在本地局域网测试,例如手机访问等等,直接用VS debug状态起的azure好像不能通过局域网访问
感谢~~
全部回复
-
2011年8月5日 6:02版主
Hi Madloo,
是的. Azure Emulator现在不支持被局域网的其他电脑或设备访问, 因为它监听的是127.0.0.1而不是你局域网的IP地址. 如果想让你局域网也能访问你正在Azure Emulator调试中的程序. 你可能需要一些额外的第三方工具(比如Port forwarding)来进行下端口转发.
比如调试时地址是127.0.0.1:81, 如果你使用的是Port forwarding, 那么你将会设置port为82, Destination为127.0.0.1, 81. 这样外界就可以通过82端口来访问正在调试的Azure应用了.
Third-party Web Site Disclaimer:
This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.Thanks.
Wenchao Zeng
Please mark the replies as answers if they help or unmark if not.
If you have any feedback about my replies, please contact msdnmg@microsoft.com.
Microsoft One Code Framework- 已标记为答案 madloo 2011年8月5日 8:58

