<p>I had a t2.micro server running where i had deployed Minikube, however due to memory issue i scared up the server size. For which i had to stop and start the instance.</p>

<p>But now after restarting, when i try with kubectl commands i get the below error.</p>

<pre><code>root@ip-172-31-23-231:~# kubectl get nodes
The connection to the server 172.31.23.231:6443 was refused - did you 
specify the right host or port?
</code></pre>

<p>So, how can i bring my earlier kube cluster up once i restart my AWS instance?</p>

<p>I had the same error. In my case minikube was not running. I started it with</p>

<pre><code>minikube start
</code></pre>
