# Curl: (6) Could not resolve host: quickstart-es-http” error

**URL:** <https://discuss.elastic.co/t/curl-6-could-not-resolve-host-quickstart-es-http-error/229328>\
**Category:** Elasticsearch\
**Created:** [April 22, 2020, 5:56pm UTC](https://discuss.elastic.co/t/curl-6-could-not-resolve-host-quickstart-es-http-error/229328 "2020-04-22T17:56:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ubiquitousdude](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ubiquitousdude/32/66910_2.png) [@ubiquitousdude](https://discuss.elastic.co/u/ubiquitousdude)\
**Post date:** [April 22, 2020, 5:56pm UTC](https://discuss.elastic.co/t/curl-6-could-not-resolve-host-quickstart-es-http-error/229328/1 "2020-04-22T17:56:19Z")

</div>

Hi,

I'm trying to follow the article here for deploying Elastic Cloud on Kubernetes:

[https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-quickstart.html](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-quickstart.html)

But I get an error when requesting ElasticSearch endpoint inside the Kubernetes cluster when I run this command:

`curl -u "elastic:$PASSWORD" -k "https://quickstart-es-http:9200"`

I get the error:

`curl: (6) Could not resolve host: quickstart-es-http”`

I noticed that there is no EXTERNAL-IP assigned to the quickstart-es-http service and the type is of ClusterIP.

How do I fix this so I can continue with this quickstart tutorial?

Thanks.

---

<div class="post-metadata">

**Author:** ![George\_Livingston](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/george_livingston/32/68012_2.png) [@George\_Livingston](https://discuss.elastic.co/u/George_Livingston)\
**Post date:** [May 9, 2020, 8:47am UTC](https://discuss.elastic.co/t/curl-6-could-not-resolve-host-quickstart-es-http-error/229328/2 "2020-05-09T08:47:39Z")

</div>

Facing same issue? Any help would greatly appreciated.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 6, 2020, 8:47am UTC](https://discuss.elastic.co/t/curl-6-could-not-resolve-host-quickstart-es-http-error/229328/3 "2020-06-06T08:47:42Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
