When i run the kubectl version command , I get the following error message.
kubectl version Client Version: version.Info{Major:\"1\", Minor:\"9\", GitVersion:\"v
i checked the firewall port and it was closed, i opened it and it started working.