Connection refused with kubectl on EC2 ubuntu instance?
<p>I installed docker-go-kubernetes on an ubuntu EC2 AWS instance using this guide: <a href="http://kubernetes.io/docs/getting-started-guides/aws/" rel="nofollow">http://kubernetes.io/docs/getting-started-guides/aws/</a></p>

<p>I have kubectl installed but when I run a test:
<code>
kubectl run my-nginx --image=nginx --replicas=2 --port=80
</code></p>

<p>I receive and error:</p>

<blockquote>
  <p>The connection to the server localhost:8080 was refused - did you
  specify the right host or port?</p>
</blockquote>

<p>How do I specify the host or port?</p>