gpt4 book ai didi

azure-service-fabric - 无法为 RPC 访问 Azure Service Fabric 集群 : Machine 10. 0.0.X

转载 作者:行者123 更新时间:2023-12-04 08:22:06 25 4
gpt4 key购买 nike

有谁知道要打开哪个端口或 CreateServiceFabricCluster powershell 能够在虚拟机上部署节点所需的防火墙规则?

在本地创建 Azure Service Fabric 集群时,我在以域管理员身份执行部署 powershell 脚本时遇到了防火墙问题。我在关注 https://azure.microsoft.com/nl-nl/documentation/articles/service-fabric-cluster-creation-for-windows-server/

当我在我想作为节点运行的 VM 中打开防火墙时,会抛出以下异常:

System.IO.IOException: The network path was not found.

at Microsoft.Win32.RegistryKey.Win32ErrorStatic(Int32 errorCode, String str) at Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(RegistryHive hKey, String machineName, RegistryView view) at System.Fabric.FabricDeployer.ConfigurationDeployer.GetTempPath(String machineName) System.IO.IOException: The network path was not found.

at Microsoft.Win32.RegistryKey.Win32ErrorStatic(Int32 errorCode, String str) at Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(RegistryHive hKey, String machineName, RegistryView view) at System.Fabric.FabricDeployer.ConfigurationDeployer.GetTempPath(String machineName) Create Cluster failed. For more information please look at traces in FabricLogRoot. Create Cluster failed with exception: System.AggregateException: One or more errors occurred. ---> System.AggregateExcep tion: One or more errors occurred. ---> System.IO.IOException: Machine 10.0.0.7 could not be reached for RPC. Check netw ork connectivity. HRESULT=53 ERROR_BAD_NETPATH at System.Fabric.DeploymentManager.b__30(String machine) at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.b__c()

目前我通过关闭防火墙来修复它,但这不是最终的解决方案。

最佳答案

您可能需要确保在您的机器上启用 RemoteRegistry 服务。

如果这不能解决问题,您可以尝试打开端口:
微软 RPC EPM:135
中小企业:445

来源:
https://serverfault.com/questions/393674/what-is-the-sequence-of-windows-rpc-ports-135-137-139-and-higher-ports-what
http://www.icir.org/gregor/tools/ms-smb-protocols.html

关于azure-service-fabric - 无法为 RPC 访问 Azure Service Fabric 集群 : Machine 10. 0.0.X,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37004406/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com