The connection to the server localhost:8080 was refused
来源:5-7 网络插件-Calico_1
![](http://img1.sycdn.imooc.com/user/5b8ce4850001610e02000196-100-100.jpg)
qq_慕丝0528892
2021-06-12
我在节点1和节点2中执行命令出现错误
$ kubectl apply -f calico.yaml
The connection to the server localhost:8080 was refused - did you specify the right host or port?
不知道为什么会连接8080端口, 而且连不上, 是我哪里配置错误了呢?
执行kubectl get pod也是一样的错误
写回答
1回答
-
配置文件:~/.kube/config
072023-01-31
相似问题