![](/img/trans.png)
[英]Service Fabric Cluster creation fails on Azure with error code "VMInstanceCountAllowsBetterReliabilityLevel"
[英]Error while publishing to Azure service fabric cluster
嘗試將服務結構應用程序發布到Azure群集時,出現以下錯誤。
這是因為自從我在公司環境中工作以來,由於存在任何防火牆問題。 如果是防火牆問題,則需要打開哪個端口來解決此問題? 還是因為其他問題?
WARNING: Failed to contact Naming Service. Attempting to contact Failover Manager Service...
Get-ServiceFabricClusterManifest : Operation canceled.
At C:\Program Files\Microsoft SDKs\Service
Fabric\Tools\PSModule\ServiceFabricSDK\Publish-NewServiceFabricApplication.ps1:159 char:28
+ $clusterManifestText = Get-ServiceFabricClusterManifest
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (Microsoft.Servi...usterConnection:ClusterConnection) [Get-ServiceFabricClusterManifest], FabricTransientException
+ FullyQualifiedErrorId : GetClusterManifestErrorId,Microsoft.ServiceFabric.Powershell.GetClusterManifest
Finished executing script 'Deploy-FabricApplication.ps1'.
Time elapsed: 00:00:47.5709554
The PowerShell script failed to execute.
如果問題僅是防火牆,則打開端口可能會解決問題,然后嘗試打開,然后仍不能解決,請返回此處:
servce結構使用的主要端口是:
ClientConnectionEndpoint:19000
HttpGatewayEndpoint:19080
HttpApplicationGatewayEndpoint:19081
如果查看群集配置,則會找到正在使用的端口列表,如下所示:
<Endpoints>
<ClientConnectionEndpoint Port="19000" />
<LeaseDriverEndpoint Port="19001" />
<ClusterConnectionEndpoint Port="19002" />
<HttpGatewayEndpoint Port="19080" Protocol="http" />
<HttpApplicationGatewayEndpoint Port="19081" Protocol="http" />
<ServiceConnectionEndpoint Port="19006" />
<ApplicationEndpoints StartPort="30001" EndPort="31000" />
</Endpoints>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.