# The connection to the server localhost:8080 was refused

**URL:** <https://discuss.kubernetes.io/t/the-connection-to-the-server-localhost-8080-was-refused/10244>\
**Category:** General Discussions\
**Created:** [March 25, 2020, 2:13pm UTC](https://discuss.kubernetes.io/t/the-connection-to-the-server-localhost-8080-was-refused/10244 "2020-03-25T14:13:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sara](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/sara/32/5027_2.png) [@sara](https://discuss.kubernetes.io/u/sara)\
**Post date:** [March 25, 2020, 2:13pm UTC](https://discuss.kubernetes.io/t/the-connection-to-the-server-localhost-8080-was-refused/10244/1 "2020-03-25T14:13:39Z")

</div>

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?
