Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

2 Worker Roles in one Azure Package

I have two worker roles in one Azure package. I am getting this error:

The port '3389' is used by both endpoint Microsoft.WindowsAzure.Plugins.RemoteForwarder.RdpInput in role WorkerRole1 and endpoint Microsoft.WindowsAzure.Plugins.RemoteForwarder.RdpInput in role WorkerRole2.

But I dont find any reference to Microsoft.WindowsAzure.Plugins.RemoteForwarder.RdpInput in cloud service configuration(cscfg) file

like image 520
Srinivas Avatar asked Jul 25 '13 10:07

Srinivas


1 Answers

Verify that only one of the WorkerRoles has "Microsoft.WindowsAzure.Plugins.RemoteForwarder.Enabled" setting in the service configuration. If both of them have this setting I believe the plug in will attempt set up the endpoint for both of them. You only need one of the roles to serve as a remote forwarder. From there it tunnels the remote access to any of the other roles that have the Microsoft.WindowsAzure.Plugins.RemoteAccess.Enabled set to true.

If this is the case it should be giving you an error if you attempt to package or publish.

like image 70
MikeWo Avatar answered Sep 19 '22 18:09

MikeWo