Connection refused to server intermittently

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version: 1.26
Cloud being used: (put bare-metal if not on a public cloud)
Installation method:VM
Host OS: Ubuntu 22.04
CNI and version:
CRI and version:

I have created cluster using kubeadm …
using kubectl command i am getting nodes
but after 3 or 4 mins if i put kubectl get nodes command i got error connection is refused to server. and after random time it gets sorted… so please get solve this issue