Over a million developers have joined DZone.

How to Remotely Access Windows Azure Dev. Fabric

· Cloud Zone

Download the Essential Cloud Buyer’s Guide to learn important factors to consider before selecting a provider as well as buying criteria to help you make the best decision for your infrastructure needs, brought to you in partnership with Internap.

One of the common topics on Windows Azure is how to access remotely a compute emulator, or the development fabric (dev fabric). This is not, of course, a solution for production, but it can come in handy when you're developing two systems on separate computers and you need to test their integration before deploying them to Windows Azure.

The problem with the development fabric is that it binds to the looback device only, so it works only if accessed by the localhost address (127.0.0.1).

The computer emulator shows that it bound to 127.0.0.1:

 

 

Also netstat output shows it:

 

 

So a remote access, which would hit the local interface, would never access your locally running application. In order to to do that, there are multiple options. Windows offers a command-line utility called netsh.exe that helps rerouting port accesses and would be great to use, but it doesn't work for loopback interfaces, so unfortunately it can't be used in this case.

Another good option is to tunnel the request via SSH. I tried that by installing Cygwin + OpenSSH, and it worked beautifully. I add some references to it at the end of this post if you're interested in this option.

However, the easiest way to get this accomplished was by using an application called "PassPort port forwarding utility Win XP", which is hosted on SourceForge.net:

http://sourceforge.net/projects/pjs-passport/

By configuring it to forward from my local interface IP address to 127.0.0.1, I can access the application remotely. For instance, if your external IP is 192.168.0.1, this would be your configuration:


Just click on "Start" to start PassPort as a Windows Service and you're done. No need to change anything on the remote side other than pointing it to your IP:Port.


 

Another alternative, that I did not try myself, is rinetd. It is mentioned in the post below and if you have any experience with it, please post a comment:

http://blog.ehuna.org/2009/10/an_easier_way_to_access_the_wi.html

References for OpenSSH

The Cloud Zone is brought to you in partnership with Internap. Read Bare-Metal Cloud 101 to learn about bare-metal cloud and how it has emerged as a way to complement virtualized services.

Topics:

Published at DZone with permission of Rodrigo De Castro, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}