error: couldn't read version from server: Get http://localhost:8080/api: dial tcp 127.0.0.1:8080: co

1,030 views
Skip to first unread message

Simon Williamson

unread,
Oct 28, 2015, 2:08:16 PM10/28/15
to kubernetes-dev
I followed the instructions at https://github.com/kubernetes/kubernetes/blob/master/docs/getting-started-guides/gce.md to run Kubernetes on GCE in my GCP project.

After completion I cannot run kubectl - I get the following error:

error: couldn't read version from server: Get http://localhost:8080/api: dial tcp 127.0.0.1:8080: connection refused

How do I fix this? I don't want to use GKE, I want to use GCE. 

Brian Grant

unread,
Oct 28, 2015, 2:18:52 PM10/28/15
to Simon Williamson, kubernetes-dev
Please re-post your question to stackoverflow: http://stackoverflow.com/questions/tagged/kubernetes

We are trying to consolidate the channels to which questions for help/support are posted so that we can improve our efficiency in responding to your requests, and to make it easier for you to find answers to frequently asked questions and how to address common use cases.

We regularly see messages posted in multiple forums, with the full response thread only in one place or, worse, spread across multiple forums.

The Kubernetes team scans stackoverflow on a regular basis, and will try to ensure your questions don't go unanswered.

Before posting a new question, please search stackoverflow for answers to similar questions, and also familiarize yourself with:
  * the user guide: http://kubernetes.io/v1.0/
  * the troubleshooting guide: http://kubernetes.io/v1.0/docs/troubleshooting.html

Again, thanks for using Kubernetes.

The Kubernetes Team
> --
> You received this message because you are subscribed to the Google Groups "kubernetes-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-de...@googlegroups.com.
> To post to this group, send email to kuberne...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-dev/9482d137-cef7-46c7-b307-f467cb26ad50%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages