Difference between revisions of "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | The connection to the server localhost:8080 was refused - did you specify the right host or port? | |
+ | |||
Solution: | Solution: | ||
Update kubeconfig with credentials: | Update kubeconfig with credentials: | ||
− | [[aws eks --region]] $(terraform output -raw region) [[update-kubeconfig]] --name $(terraform output -raw cluster_name) | + | [[aws eks --region]] $([[terraform output -raw region]]) [[update-kubeconfig]] --name $([[terraform output -raw cluster_name]]) |
== Related == | == Related == | ||
+ | * <code>[[aws eks update-kubeconfig]]</code> | ||
* <code>[[kubectl get pods]]</code> | * <code>[[kubectl get pods]]</code> | ||
* <code>[[eksctl]]</code> | * <code>[[eksctl]]</code> | ||
+ | * <code>[[~/.kube/config]]</code> | ||
== See also == | == See also == |
Latest revision as of 16:41, 19 December 2022
The connection to the server localhost:8080 was refused - did you specify the right host or port? Solution: Update kubeconfig with credentials: aws eks --region $(terraform output -raw region) update-kubeconfig --name $(terraform output -raw cluster_name)
Related[edit]
See also[edit]
kubectl
: [cp | config | create
|delete
|edit | explain |
apply
|exec
|get
|set
|drain | uncordon | rolling-update
|rollout
|logs
|run
|auth
|label | annotate
|version
|top
|diff
|debug
|replace
|describe
|port-forward | proxy
|scale
|rollout
|api-resources
| expose deployment | expose | patch | attach | get endpoints | ~/.kube/config | kubectl logs --help | kubectl --help, kubectl-convert, kubectl autoscale, kubectl.kubernetes.io
Advertising: