Reputation: 837
I have trial account on azure cloud. I created a virtual server. I created console application with superwebsocket. I uploaded the application on azure virtual servers desktop. I created tcp endpoind (2012 port) on azure virtual desktop configuration. But my test code didnt connect the app with websocket via ws://myuseradress.cloudapp.net:2012.
ps: my console app works in my desktop and I connect with test code via ws://localhost:2012
Upvotes: 0
Views: 2464
Reputation: 5513
When you create an endpoint in Windows Azure IaaS Cloud Services, this configures the Azure Fabric's load balancer to route requests on that port to the specific VM's that are associated with that endpoint. However, since this is IaaS and PaaS, Windows Azure does not automatically configure the VM itself to accept that connection. So you much log into the VM and ensure that its internal firewall is allowing inbound connections on the appropriate port.
Upvotes: 3