没有群集端点无法访问,请检查是否存在连接/防火墙/DNS问题 [英] No cluster endpoint is reachable, please check if there is connectivity/firewall/DNS issue

查看:161
本文介绍了没有群集端点无法访问,请检查是否存在连接/防火墙/DNS问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在研究云技术.在我当前的项目之一中,我在Azure中创建了服务结构群集.然后,我尝试通过Windows PowerShell连接到群集.我得到了错误

I am currently working on cloud technology. In one of my current projects, I created the service fabric cluster in Azure. Then I tried to connect to the cluster through Windows PowerShell. I got the error

没有群集端点可访问,请检查是否存在连接/防火墙/DNS问题.

No cluster endpoint is reachable, please check if there is connectivity/firewall/DNS issue.

请告诉我如何解决上述问题.

Please tell me how to resolve the above issue.

此致

Pradeep

推荐答案

经过大量研究,我使用下面的这些链接找到了解决上述问题的方法.

After did a lot of research, I find out the solution for my above problem using these below links.

准备开发环境

https://docs.microsoft .com/zh-CN/azure/service-fabric/service-fabric-get-started

使用Azure门户在Azure中创建Service Fabric群集

https://docs.microsoft.com/zh-CN/azure/service-fabric/service-fabric-cluster-creation-via-portal

在使用上述命令连接Power Cluster时,我犯了一个错误,那就是在编写上述命令之前,我忘记了启用PowerShell脚本执行.

What I did mistake for connecting secure cluster using PowerShell is before I write the above command I forget to enable the PowerShell script execution.

因此,首先使用以下命令启用了Power Shell脚本执行.

So, first I was enabled the power shell script execution using this below command.

Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force -Scope CurrentUser

之后,我使用以下命令连接到我的安全集群,现在一切正常.

After that I used the below command for connecting to my secure cluster, Now it's working fine.

Connect-serviceFabricCluster

-Pradeep

这篇关于没有群集端点无法访问,请检查是否存在连接/防火墙/DNS问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆