【发布时间】:2017-07-23 00:28:40
【问题描述】:
在 ServiceManifest.xml 文件中服务的端点配置中,Visual Studio 通常会创建以下信息:
<Resources>
<Endpoints>
<Endpoint Protocol="http" Name="ServiceEndpointHttp" Type="Input" Port="8304" />
</Endpoints>
</Resources>
如果我删除端口属性及其值(如下所示),
<Resources>
<Endpoints>
<Endpoint Protocol="http" Name="ServiceEndpointHttp" Type="Input" />
</Endpoints>
</Resources>
服务结构运行时将为该服务分配一个动态端口。
由于所有端口都被相关的负载均衡器自动阻塞,我该如何配置负载均衡器才能从外部访问服务?
【问题讨论】:
标签: azure azure-service-fabric