Following the instructions of pasting the snippet into `~/.kube/config` I get the following error:
kubectl cluster-info dump
The connection to the server [IP address] was refused - did you specify the right host or port?