[英]Is it possible to access the Azure emulator from another computer on the same network?
I'm running Windows 7 (x64) with VS 2010 SP1 and the Windows Azure SDK 1.5. 我正在使用VS 2010 SP1和Windows Azure SDK 1.5运行Windows 7(x64)。 I'd like to be able to debug a web application on an iPhone connected to the same network to shorten debug cycles. 我希望能够在连接到同一网络的iPhone上调试Web应用程序,以缩短调试周期。
IIS is running on this machine and can see that a temporary site is being created when I debug the Azure project. IIS正在此计算机上运行,并且可以在调试Azure项目时看到正在创建临时站点。 Is there a way to add an additional binding to the IIS site so that I can connect from the the iPhone when the debug is started? 有没有办法向IIS站点添加额外的绑定,以便我可以在启动调试时从iPhone连接? I can manually add a binding once the debugger starts up but this is lost when I stop debugging. 我可以在调试器启动时手动添加绑定,但是当我停止调试时会丢失。
This is a very old thread, but I came across it trying to do the same thing- after more searching I found this: and it worked great for me (Using Passport to pass the traffic) 这是一个非常古老的线程,但我遇到它试图做同样的事情 - 经过更多的搜索后我发现了这个:它对我很有用(使用Passport传递流量)
http://blog.sacaluta.com/2012/03/windows-azure-dev-fabric-access-it.html http://blog.sacaluta.com/2012/03/windows-azure-dev-fabric-access-it.html
you can use port forwarding to do that. 你可以使用端口转发来做到这一点。
netsh interface portproxy add v4tov4 listenport=800 connectaddress=127.255.0.0 connectport=82 protocol=tcp
More info here: http://fabriccontroller.net/blog/posts/remotely-accessing-the-windows-azure-compute-emulator/ 更多信息: http : //fabriccontroller.net/blog/posts/remotely-accessing-the-windows-azure-compute-emulator/
I have discovery this solution http://blog.piyushthacker.com/?p=24 我发现了这个解决方案http://blog.piyushthacker.com/?p=24
Works fine for me :) 对我来说工作正常:)
In newer version (1.3 and higher) you may need to change file IISConfigurator.exe.config file like in this solution http://blog.syntaxc4.net/post/2011/01/06/changing-the-windows-azure-compute-emulator-ip-address.aspx 在较新的版本(1.3和更高版本)中,您可能需要更改文件IISConfigurator.exe.config文件,如此解决方案http://blog.syntaxc4.net/post/2011/01/06/changing-the-windows-azure-计算仿真器-IP-address.aspx
我使用Fiddler创建代理服务器(勾选选项在启动时充当系统代理 , 监控所有连接并允许远程计算机连接 ),配置远程浏览器以使用代理服务器,并通过http:// ipv4访问我的Azure网站.fiddler:81 /技术来自这里 。
I have managed to find a solution that kind of works. 我设法找到了一种有效的解决方案。
I went to IIS manager and created a new website that points to the folder were I'm developing, on the port 8000. 我去了IIS管理器并在端口8000上创建了一个新网站,指向我正在开发的文件夹。
Now I can access it through http://ip-of-server:8000 , and also debug the application. 现在我可以通过http:// ip-of-server:8000访问它,并调试应用程序。
Hope it works for you also. 希望它也适合你。
There is a solution for this, 有一个解决方案,
Look at This SO Answer , which is based on this post 看看这个SO答案 ,这是基于这篇文章
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.