I'm facing the same issue, running a MongoDB replica set as three worker roles. How do I connect to it outside the Azure Cloud?
Feels like I tried all combinations of endpoints...
Is there anyone who can point me into right direction?
/Daniel
On Thursday, October 4, 2012 8:59:34 PM UTC+2, Miksu wrote:
After changing the endpoint configuration I'm now able to connect to the server from my dev machine using mongo.exe:
<InputEndpoint name="MongodPort" protocol="tcp" port="27017" localPort="27017" />
The problem though is that the replica set doesn't seem to work. I think this is somehow related to the hosts-file so that the service is not able to update the file if the InternalEndPoint is changed to InputEndPoint.
torstai, 4. lokakuuta 2012 15.19.29 UTC+3 Miksu kirjoitti:
Thanks to the "MongoDB on Azure Worker Role" guides, I was able to create a 3xinstance deployment to Azure and the sample app is working nicely. What I wonder now is how can I "open" those MongoDB instances so that I can access them from outside this one Cloud Service?
For example, I have couple Virtual Machines running executables which need access to the MongoDB. Also during development, I would like to be able to access these instances from my dev machine. I wonder what are the steps in order to open up the server, so that some kind of an authentication mechanism (username/password is fine) is used?