# Unable to connect to server error

**URL:** <https://discuss.kubernetes.io/t/unable-to-connect-to-server-error/23165>\
**Category:** Windows\
**Created:** [February 22, 2023, 10:11am UTC](https://discuss.kubernetes.io/t/unable-to-connect-to-server-error/23165 "2023-02-22T10:11:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prevailerz](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/prevailerz/32/11876_2.png) [@Prevailerz](https://discuss.kubernetes.io/u/Prevailerz)\
**Post date:** [February 22, 2023, 10:11am UTC](https://discuss.kubernetes.io/t/unable-to-connect-to-server-error/23165/1 "2023-02-22T10:11:09Z")

</div>

Hello everyone,  
I’m new to K8s.  
I keep getting these errors.  
kindly assist me.  
thanks

kubectl get pods -n kube-system  
E0222 10:04:53.001887 2194 memcache.go:238] couldn’t get current server API group list: Get “[https://192.168.49.2:8443/api?timeout=32s](https://192.168.49.2:8443/api?timeout=32s)”: dial tcp 192.168.49.2:8443: connect: no route to host

kubectl api-resources  
E0222 09:55:00.842753 2167 memcache.go:238] couldn’t get current server API group list: Get “[https://192.168.49.2:8443/api?timeout=32s](https://192.168.49.2:8443/api?timeout=32s)”: dial tcp 192.168.49.2:8443: connect: no route to host  
NAME SHORTNAMES APIVERSION NAMESPACED KIND  
Unable to connect to the server: dial tcp 192.168.49.2:8443: connect: no route to host

---

<div class="post-metadata">

**Author:** ![felixdpg](https://avatars.discourse-cdn.com/v4/letter/f/91b2a8/32.png) [@felixdpg](https://discuss.kubernetes.io/u/felixdpg)\
**Post date:** [February 28, 2023, 2:32pm UTC](https://discuss.kubernetes.io/t/unable-to-connect-to-server-error/23165/2 "2023-02-28T14:32:21Z")

</div>

> [@Prevailerz](#):
>
> no route to host

Check FW rules for port 8443.
