Azure Service Fabric 群集:无法为 RPC 访问机器 10.0.0.X
Azure Service Fabric Cluster: Machine 10.0.0.X could not be reached for RPC
有谁知道要打开哪个端口或 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
有谁知道要打开哪个端口或 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