The connection to the server localhost:8080 was refused

Any one help this issues while running below command am getting this error

kubectl create -f manifest.yml

The connection to the server localhost:8080 was refused - did you specify the right host or port?