Service Fabric 集群自定义终结点与应用程序开始和结束端口
Service Fabric Cluster Custom endpoints vs Application start and end ports
此屏幕截图是在 Azure 门户上创建集群时截取的。如下图所示,
自定义端点和应用程序有什么区别
起止端口范围?
为什么一个叫端点,另一个叫端口?
自定义端点帮助说 "Custom endpoints allow for connections to applications running on this node type. Enter endpoints separated by a comma."
。
自定义端点:此字段允许您输入要通过 Azure 负载均衡器公开的以逗号分隔的端口列表 到 public 互联网以供您申请。例如,如果您计划将 Web 应用程序部署到您的集群,请在此处输入“80”以允许端口 80 上的流量进入您的集群。
应用程序端口(开始|结束):是 Service Fabric 应用程序使用的端口。应用程序端口范围应足够大,以满足应用程序的端点要求。该范围应该不包括机器上的动态端口范围,即配置中设置的 EphemeralPorts 范围。 Service Fabric 会在需要新端口时使用这些端口,并负责为这些端口打开防火墙。
总结:
Custom endpoints are ports opened in the Load Balancer to enable external access.
Application Ports is a range of reserved ports to be opened in the nodes and assigned to services when using dynamic allocated ports, but not externally accessible.
此屏幕截图是在 Azure 门户上创建集群时截取的。如下图所示,
自定义端点和应用程序有什么区别 起止端口范围?
为什么一个叫端点,另一个叫端口?
自定义端点帮助说
"Custom endpoints allow for connections to applications running on this node type. Enter endpoints separated by a comma."
。
自定义端点:此字段允许您输入要通过 Azure 负载均衡器公开的以逗号分隔的端口列表 到 public 互联网以供您申请。例如,如果您计划将 Web 应用程序部署到您的集群,请在此处输入“80”以允许端口 80 上的流量进入您的集群。
应用程序端口(开始|结束):是 Service Fabric 应用程序使用的端口。应用程序端口范围应足够大,以满足应用程序的端点要求。该范围应该不包括机器上的动态端口范围,即配置中设置的 EphemeralPorts 范围。 Service Fabric 会在需要新端口时使用这些端口,并负责为这些端口打开防火墙。
总结:
Custom endpoints are ports opened in the Load Balancer to enable external access.
Application Ports is a range of reserved ports to be opened in the nodes and assigned to services when using dynamic allocated ports, but not externally accessible.