【发布时间】:2016-10-30 11:12:32
【问题描述】:
我最近开始使用 Service Fabric。我在 Azure (unsecure) 上添加了一个新的 Service Fabric 集群,并创建了一个包含 2 个无状态 Web API 服务的演示解决方案,如下所示:
AnotherAPI 的端点配置如下:
<Endpoints>
<!-- This endpoint is used by the communication listener to obtain the port on which to
listen. Please note that if your service is partitioned, this port is shared with
replicas of different partitions that are placed in your code. -->
<Endpoint Protocol="http" Name="ServiceEndpoint" Type="Input" Port="8698" />
</Endpoints>
我可以使用本地端点访问默认控制器 (ValuesController):
http://localhost:8698/api/values
但是当我尝试使用天蓝色端点时,我在 Chrome 上收到 ERR_CONNECTION_TIMED_OUT 错误。
http://{azure-ip-address}:8698/api/values
我有什么遗漏的吗?
【问题讨论】:
标签: azure azure-service-fabric