如何连接到Azure计算仿真器远程测试从iPhone Web角色 [英] How to connect to the Azure Compute Emulator remotely to test a web role from an iPhone

查看:142
本文介绍了如何连接到Azure计算仿真器远程测试从iPhone Web角色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要从一个iPhone测试和调试我的Web应用程序,但Azure计算模拟器似乎只在127.0.0.1监听,因此它不是来自外部的机器访问。

I need to test and debug my web app from an iPhone, but the Azure Compute Emulator appears to only listen on 127.0.0.1 and so it is not accessible from external machines.

有谁知道如何改变这种状况?

Anyone know how to change that?

如果这是不可能改变的,没有任何人有如何设置端口转发的建议,以解决此限制?

If it is impossible to change, does anyone have a suggestion for how to set up port forwarding to work around this limitation?

推荐答案

这限制是通过设计出于安全考虑。还有,当你NOE,情景一堆哪里会是有用的绕过这个限制,比如运行一个测试/ INT服务器或从移动设备访问。

This limitation is by design for security reasons. There are, as you noe, a bunch of scenarios where it would be useful to bypass this restriction such as running a test/int server or accessing from mobile devices.

这是很容易规避,虽然。你只需要运行一个反向代理服务器。

It is easy enough to circumvent though. You simply need to run a reverse proxy server.

在这里我最喜欢的方法是使用Fiddler,因为这具有能够观看交通的好处。

My favourite approach here is to use FIddler as this has the added benefit of being able to watch the traffic.

看看这篇文章,它应该为您提供sufficeint指导。如果没有COMENT回来,我会写了一篇博客文章与我一步一步的指导。

Take a look at this article and it should provide you with sufficeint guidance. If not coment back and I'll write up a blog post with my step-by-step guide.

<一个href=\"http://www.fiddler2.com/fiddler/help/reverseproxy.asp\">http://www.fiddler2.com/fiddler/help/reverseproxy.asp

这篇关于如何连接到Azure计算仿真器远程测试从iPhone Web角色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆