一个Azure包中的2个工作者角色

时间:2022-06-08 16:57:33

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

我在一个Azure包中有两个辅助角色。我收到此错误:

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.

端口“3389”由角色WorkerRole1中的端点Microsoft.WindowsAzure.Plugins.RemoteForwarder.RdpInput和角色WorkerRole2中的端点Microsoft.WindowsAzure.Plugins.RemoteForwarder.RdpInput使用。

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

但我没有在云服务配置(cscfg)文件中找到任何对Microsoft.WindowsAzure.Plugins.RemoteForwarder.RdpInput的引用

1 个解决方案

#1


18  

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.

验证只有一个WorkerRoles在服务配置中具有“Microsoft.WindowsAzure.Plugins.RemoteForwarder.Enabled”设置。如果它们都具有此设置,我相信插件将尝试为它们设置端点。您只需要其中一个角色作为远程转发器。从那里,它将远程访问隧道连接到将Microsoft.WindowsAzure.Plugins.RemoteAccess.Enabled设置为true的任何其他角色。

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

如果是这种情况,如果您尝试打包或发布它应该会给您一个错误。

#1


18  

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.

验证只有一个WorkerRoles在服务配置中具有“Microsoft.WindowsAzure.Plugins.RemoteForwarder.Enabled”设置。如果它们都具有此设置,我相信插件将尝试为它们设置端点。您只需要其中一个角色作为远程转发器。从那里,它将远程访问隧道连接到将Microsoft.WindowsAzure.Plugins.RemoteAccess.Enabled设置为true的任何其他角色。

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

如果是这种情况,如果您尝试打包或发布它应该会给您一个错误。