首页 > 解决方案 > Service Fabric 是否存在端口范围限制?

问题描述

我们在 Windows 2016 节点上运行 SF 独立集群(V6.5.641.9590),并定义了 30001 和 30081 之间的应用程序端口范围。有时我们会遇到与 SF 内部服务(如图像存储服务)的端口冲突。

对于 Service Fabric 群集,应用程序端口或临时端口是否存在任何范围限制?我看到一些帖子提到应用程序端口必须低于 30000,但在官方文档中没有写任何类似的内容。

这是清单中的片段:

<Endpoints>
    <ClientConnectionEndpoint Port="19000" />
    <LeaseDriverEndpoint Port="19002" />
    <ClusterConnectionEndpoint Port="19001" />
    <HttpGatewayEndpoint Port="19080" Protocol="http" />
    <HttpApplicationGatewayEndpoint Port="19081" Protocol="http" />
    <ServiceConnectionEndpoint Port="19003" />
    <ApplicationEndpoints StartPort="30001" EndPort="30081" />
    <EphemeralEndpoints StartPort="29000" EndPort="30000" />
</Endpoints>

使用此设置,我们在端口 30006/30007 上运行了一个冲突服务(来自 SF 的 ImageStore 服务)。

标签: azureazure-service-fabric

解决方案


推荐阅读