<p>Iam trying to set up aws cluster. I installed kubectl and configured aws with credentials. When I tried to display pods or any kubectl commands, Iam getting this error</p>
<pre><code>revaa@revaa-Lenovo-E41-25:~$ kubectl get pod
Unable to connect to the server: dial tcp 10.0.12.77:443: i/o timeout
</code></pre>
<p>How to resolve this</p>

<p>The ip used is a private, it cannot be accessed outside the aws. Change your cluster's api server endpoint access to public. It worked.</p>
