I have Couchbase Server and Sync Gateway deployed in an Azure Virtual Machine Windows Server 2012. I can access the Couchbase Web Console and I can also launch the sync gateway with default configurations without any issues by remoting into the virtual machine.
I can’t seem to access the server to do a push/pull replication via my mobile app. I also can’t access the admin web console via a web browser outside of the virtual machine. I’ve opened up all the ports by adding them as Endpoints in the Azure Portal for the virtual machine configuration from this manual (http://docs.couchbase.com/admin/admin/Install/install-networkPorts.html).
Here’s my url to the sync gateway that my mobile app uses: http://myappname.cloudapp.net:4984/sync_gateway/
Here’s my url to the web console: http://myappname.cloudapp.net:8091/index.html
I’m not sure what I am missing at this point? Has anyone have experiencing setting up Couchbase Server and Sync Gateway in Azure VM? Everything seems to work fine if I test my setup via a local machine outside of the virtual machine.