# Kubectl Config Errors

**URL:** <https://discuss.kubernetes.io/t/kubectl-config-errors/33078>\
**Category:** Windows\
**Tags:** development, minikube\
**Created:** [August 29, 2025, 6:37am UTC](https://discuss.kubernetes.io/t/kubectl-config-errors/33078 "2025-08-29T06:37:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicholaswkc](https://avatars.discourse-cdn.com/v4/letter/n/a9adbd/32.png) [@nicholaswkc](https://discuss.kubernetes.io/u/nicholaswkc)\
**Post date:** [August 29, 2025, 6:37am UTC](https://discuss.kubernetes.io/t/kubectl-config-errors/33078/1 "2025-08-29T06:37:03Z")

</div>

I had installed kubernetes using this command

> choco install kubernetes-cli

on MS Windows. How to configure them in order to use it?

I tried with several approach but still cannot get them solve.

Error message is

> Unable to connect to the server: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it.

`kubectl create ns chaos-mesh`

Please help. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Rahul\_Yadav](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/rahul_yadav/32/17714_2.png) [@Rahul\_Yadav](https://discuss.kubernetes.io/u/Rahul_Yadav)\
**Post date:** [October 10, 2025, 10:43am UTC](https://discuss.kubernetes.io/t/kubectl-config-errors/33078/2 "2025-10-10T10:43:57Z")

</div>

do you have your `kubeconfig` file?
