title: Unable to connect to Kubernetes dashboard
body: <p>I have set up EKS cluster on a EC2 instance. I have installed the kubernetes dashboard and started the proxy and the server is listening on <code>8001</code> port.</p>
  <pre><code>kubectl get deployments --namespace=kubernetes-dashboard
  NAME                        READY   UP-TO-DATE   AVAILABLE   AGE
  dashboard-metrics-scraper   1/1     1            1           16m
  kubernetes-dashboard        1/1     1            1           16m
  
  [ec2-user@ip-address ~]$ kubectl proxy
  Starting to serve on 127.0.0.1:8001
  </code></pre>
  <p>I then opened the 8001 port on the ssh group of the instance security group. If I now try to access the below url, it is not getting connected.</p>
  <pre><code>http://&lt;instance-public-ip&gt;:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/#!/login
  </code></pre>
  <p>Updated few more details:</p>
  <pre><code>[ec2-user@&lt;ip-address&gt; ~]$ kubectl describe deployment kubernetes-dashboard --nam espace=kubernetes-dashboard
  Name:                   kubernetes-dashboard
  Namespace:              kubernetes-dashboard
  CreationTimestamp:      Tue, 20 Apr 2021 15:44:09 +0000
  Labels:                 k8s-app=kubernetes-dashboard
  Annotations:            deployment.kubernetes.io/revision: 1
  Selector:               k8s-app=kubernetes-dashboard
  Replicas:               1 desired | 1 updated | 1 total | 1 available | 0 unavailable StrategyType:           RollingUpdate
  MinReadySeconds:        0
  RollingUpdateStrategy:  25% max unavailable, 25% max surge
  Pod Template:
    Labels:           k8s-app=kubernetes-dashboard
    Service Account:  kubernetes-dashboard
    Containers:
     kubernetes-dashboard:
      Image:      kubernetesui/dashboard:v2.0.5
      Port:       8443/TCP
      Host Port:  0/TCP
  </code></pre>
  <pre><code>[ec2-user@&lt;ip-address&gt; ~]$ kubectl port-forward deployment/kubernetes-dashboard 8 001:8443 --namespace=kubernetes-dashboard
  Forwarding from [::1]:8001 -&gt; 8443
  </code></pre>
  <pre><code>[ec2-user@&lt;ip-address&gt; ~]$ curl -I  http://localhost:8001/api/v1/namespaces/kuber netes-dashboard/services/https:kubernetes-dashboard:/proxy/
  HTTP/1.1 200 OK
  Accept-Ranges: bytes
  Audit-Id: 9e155331-b76a-4a83-aecc-007d1e76b8ae
  Cache-Control: no-cache, private
  Content-Type: text/html; charset=utf-8
  Date: Tue, 20 Apr 2021 17:19:06 GMT
  Last-Modified: Thu, 03 Dec 2020 13:30:41 GMT
  </code></pre>
  <p>Where am I going wrong?</p>