title: kubectl apply command does not work, gives connection refused error
body: <p>when I am trying to setup pod network using the following</p>
  
  <pre><code>sudo kubectl apply -f https://docs.projectcalico.org/v3.1/getting-started/kubernetes/installation/hosted/rbac-kdd.yaml
  </code></pre>
  
  <p>I get this error, please help</p>
  
  <pre><code>unable to recognize "https://docs.projectcalico.org/v3.1/getting-started/kubernetes/installation/hosted/rbac-kdd.yaml": Get http://localhost:8080/api?timeout=32s: dial tcp 127.0.0.1:8080: connect: connection refused
  unable to recognize "https://docs.projectcalico.org/v3.1/getting-started/kubernetes/installation/hosted/rbac-kdd.yaml": Get http://localhost:8080/api?timeout=32s: dial tcp 127.0.0.1:8080: connect: connection refused
  </code></pre>
  
  <p><strong>UPDATE:</strong>
  Doesn't seem to be a permission issue, unlike other question</p>