0
我最近開始使用服務結構。我加在Azure上一個新的服務織物集羣(不安全),我創建了2個無狀態的Web API服務演示解決方案如下:ERR_CONNECTION_TIMED_OUT當試圖訪問服務結構服務
爲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
但是,當我嘗試使用azure端點時,我在Chrome上收到ERR_CONNECTION_TIMED_OUT錯誤。
http://{azure-ip-address}:8698/api/values
有什麼我失蹤了嗎?
謝謝,我會試試看 –