The connection to the server localhost:8080 was refused - did you specify the right host or port?

Posted sxgaofeng

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The connection to the server localhost:8080 was refused - did you specify the right host or port?相关的知识,希望对你有一定的参考价值。

###在master将文件拷贝到kubernetes节点上

scp /etc/kubernetes/admin.conf dataexa-k8s-node-01:/etc/kubernetes/

 

###环境变量生效

echo "export KUBECONFIG=/etc/kubernetes/admin.conf" >> ~/.bash_profile

source ~/.bash_profile

以上是关于The connection to the server localhost:8080 was refused - did you specify the right host or port?的主要内容,如果未能解决你的问题,请参考以下文章

Ionic App 启动时报Application Error - The connection to the server was unsuccessful

kubectl error: The connection to the server localhost:8080 was refused

mysql错误 MacERR_WHEN_INSERT_TO_DB Error:Connection lost: The server closed the connection.

How to do if the GM MDI cant connect with the software

C# Mysql You have an error in your SQL syntax; check the manual that corresponds to your MySQL ser

k8s The connection to the server was refused 问题解决记录