如何远程连接到 Azure 计算模拟器以从 iPhone 测试 Web 角色

发布于 2024-12-23 05:54:23 字数 135 浏览 2 评论 0原文

我需要从 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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

小…红帽 2024-12-30 05:54:23

此限制是出于安全原因而设计的。正如您所见,在许多情况下绕过此限制会很有用,例如运行 test/int 服务器或从移动设备进行访问。

不过,这很容易规避。您只需要运行反向代理服务器即可。

我最喜欢的方法是使用 FIddler,因为这具有能够监视流量的额外好处。

看看这篇文章,它应该为您提供足够的指导。如果没有评论回来,我会写一篇博客文章和我的分步指南。

http://www.fiddler2.com/fiddler/help/reverseproxy.asp

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.

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

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.

http://www.fiddler2.com/fiddler/help/reverseproxy.asp

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文