Run ps -ef | grep kubelet
Output will be somewhat like this:
root 934 1 5 08:17 ? 00:20:40 /usr/bin/kubelet --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf --config=/var/lib/kubelet/config.yaml --network-plugin=cni --pod-infra-container-image=k8s.gcr.io/pause:3.2
Look for path of kubelet.conf and then edit port in that file. On this port, kubelet connects with kube-apiserver. Once it's fixed, output of kubectl cluster-info should be somewhat like this:
Kubernetes control plane is running at https://192.168.56.2:6443
KubeDNS is running at https://192.168.56.2:6443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.