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
First make sure that you stop all the websites running on port 80 from IIS. Generally Default web site runs on port 80. So stop it from IIS management console.
Then open properties of your web role project. Select Web option from left hand panel. Under radio button labeled as "Use Visual Studio Development Server" you will see another radio button labeled as "Specific Port". Select this radio button and mention
80 in the textbox opposite to it.
Then run your application cloud project. This will open your web role on port 80. URL will be -
I stopped default web site on port 80. I did not change the specific port in web role project properties. Then I found that web role starts on port 81.
So just make sure that, you are changing properties of web role project to run on port 80.
The steps have mentioned in above post as follows -
"Then open properties of your web role project. Select Web option from left hand panel. Under radio button labeled as "Use Visual Studio Development Server" you will see another radio button labeled as "Specific Port". Select this radio button and
mention 80 in the textbox opposite to it."
I did the specific change you mentioned in your post - i.e specified the port as 80; and it still doesnt work. Which sdk version are you on? Also, I am trying to start the whole of the cloud-service and not just the webrole specifically.
I tried out your solution on a different machine and it seems to work. So, there seems to be some problem on my local machine. I will try to solve it on my own. But atleast I know the solution! Thanks again for the answer!
I am now able to solve the issue on my system. I think what triggered the issue was that I had used Microsoft Web Platform installer to install a few things. That triggered open a "Web Deployment Agent Service" on my system that was eating up the port 80
all the time. I kill that service and everything is fine.