Reputation: 189
Is it possible to connect to remote TCP sockets using windows azure cloud? I've read it's only possible to receive on port 80 and 443.
Upvotes: 2
Views: 1095
Reputation:
Please try as follows:
Upvotes: 0
Reputation: 71121
Long ago, there were limits with Web roles. Not any more. When you set up your Role (your Virtual Machine), whether Web Role (meaning it's running IIS) or Worker Role (meaning it's not running IIS), you can expose endpoints with tcp, http, and https. You choose the port number.
You can open up to 25 endpoints in a given deployment.
Upvotes: 3
Reputation: 890
With any type of Windows Azure role, you can define tcp endpoints and assign a specific port to each endpoint. You can then start a ServiceHost that listens on that tcp endpoint.The Windows Azure load balancer would take care of sending requests across your instances.
Azure allows only incoming ports 80 and 443 and you can use throw the WebRole. The worker role cannot listen to incoming messages from outside Azure.
Upvotes: 0