Search code examples
azurewebrole

How to force open webrole on port 80 in azure dev fabric(azure sdk 1.5)


Recently, I upgraded my dev env from ver1.1 to ver 1.5 of the Azure SDK (I know - am a little too late :))

What I noticed was that my webrole was opening up at the port 81 always. Is there a way for me to force open the azure webrole on port 80 in my dev env?

The reason I need this is :

  1. I have a browser extension which connects to my webrole - and it expects the webrole to be on port 80; Until now, testing on the dev env was easy - I just need to do an etc/host redirection and my regular browser plugin would connect to my dev fabric.

  2. On my website, I also provide open-auth authentication from google/facebook. I would not be able to test that on my dev env if I access it as www.mywebsite.com:81/ instead of www.mywebsite.com

Anyone has a pointer?

Kapil


Solution

  • Just make sure port 80 is available. The compute emulator takes the port you asked for or the first available port above that.