I have a azure worker role, displayed as Cloud service (classic). I need to listen on two equal ports on separate IP addresses. Is this possible?
The machine of the worker role would need two nics. In my endpoint configuration of the worker role I would have to configure to which nic the input endpoints belongs to.
Any ideas?
With worker/web roles within the same Cloud Service, you can only have a single VIP, mapping to
yourservice.cloudapp.net
. You cannot have mulitple VIPs unless you have a Virtual Machine (either in your classic Cloud Service or modern ARM-based deployment).This limitation is called out explicitly in this article.