11

I'm running Windows 7 (x64) with VS 2010 SP1 and the Windows Azure SDK 1.5. I'd like to be able to debug a web application on an iPhone connected to the same network to shorten debug cycles.

IIS is running on this machine and can see that a temporary site is being created when I debug the Azure project. 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? I can manually add a binding once the debugger starts up but this is lost when I stop debugging.

Brian Lyttle
  • 14,558
  • 15
  • 68
  • 104
  • you'd probably need to setup some sort of port forwading to map from an external IP to your localhost'ed azure instance – Necrolis Oct 17 '11 at 09:16
  • Port forwarding shouldn't be required since it is using IIS which can have multiple bindings. The question really relates to how it is configuring the original temporary site that is setup. – Brian Lyttle Oct 17 '11 at 12:19
  • Perhaps this: http://localno.de/ might help? Still needs a manual step, though. – Jeremy McGee Oct 18 '11 at 14:11
  • @JeremyMcGee That's not too bad, but I was hoping for something that gave me control over the IIS config that is being generated. – Brian Lyttle Oct 19 '11 at 15:10
  • You might be able to do some trickery with IIS through WMI in the RoleStart.cs file... but I'd not trust that to stay the same when the emulator is updated... – Jeremy McGee Oct 19 '11 at 16:52
  • @Liel my question was asked years before yours ;) – Brian Lyttle Jan 08 '14 at 20:58
  • Hmmm... sorry for that... I removed the flag. :) Anyway, Did you get your answer? – Liel Jan 08 '14 at 20:59

6 Answers6

9

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)

http://blog.sacaluta.com/2012/03/windows-azure-dev-fabric-access-it.html

Matt Frear
  • 52,283
  • 12
  • 78
  • 86
  • 2
    after trying 4 different methods suggested in various threads, this is by far the simplest. Just download the PassPort exe, run it, it's pretty self explanatory and it works well on Win 8 with VS 2012 – talkol Sep 23 '13 at 17:49
  • I can't get this to work for accessing the development cloud storage - any thoughts? – joshcomley Jul 16 '14 at 16:02
3

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/

vgaltes
  • 1,150
  • 11
  • 18
1

I have discovery this solution 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

I use Fiddler to create a proxy server (tick options Act as system proxy on startup, Monitor all connections and Allow remote computers to connect), configure the remote browser to use the proxy server, and access my Azure website via http://ipv4.fiddler:81/ Technique from here.

Oliver Bock
  • 4,829
  • 5
  • 38
  • 62
1

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.

Now I can access it through http://ip-of-server:8000, and also debug the application.

Hope it works for you also.

Vasco Costa
  • 341
  • 1
  • 2
  • 10
0

There is a solution for this,
Look at This SO Answer, which is based on this post

Community
  • 1
  • 1
Liel
  • 2,407
  • 4
  • 20
  • 39