# AWS - Could not resolve host error

**URL:** <https://discuss.elastic.co/t/aws-could-not-resolve-host-error/170699>\
**Category:** APM\
**Created:** [March 4, 2019, 10:00am UTC](https://discuss.elastic.co/t/aws-could-not-resolve-host-error/170699 "2019-03-04T10:00:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![snavas](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@snavas](https://discuss.elastic.co/u/snavas)\
**Post date:** [March 4, 2019, 10:00am UTC](https://discuss.elastic.co/t/aws-could-not-resolve-host-error/170699/1 "2019-03-04T10:00:46Z")

</div>

I'm a newbie to Elastic and myy APM version is 6.6.1. I'm trying to access some APM transaction data in the AWS cloud using curl. I used Dev Tools to get the curl command:

curl -XGET "[http://XXNUMBERS.containerhost:9244/apm-6.6.1-transaction-2019.03.04/\_search](http://XXNUMBERS.containerhost:9244/apm-6.6.1-transaction-2019.03.04/_search)"

However, when I try to access this via curl, I get a `Could not resolve host: XXNUMBERS.containerhost` error. I tried to ping the url and am getting the same error.

Am I missing something? How can we get this data remotely via curl?

---

<div class="post-metadata">

**Author:** ![snavas](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@snavas](https://discuss.elastic.co/u/snavas)\
**Post date:** [March 6, 2019, 8:00am UTC](https://discuss.elastic.co/t/aws-could-not-resolve-host-error/170699/2 "2019-03-06T08:00:21Z")

</div>

Duplicate of [Access APM cloud remotely](https://discuss.elastic.co/t/access-apm-cloud-remotely/171027)

---

<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:** [March 27, 2019, 4:00am UTC](https://discuss.elastic.co/t/aws-could-not-resolve-host-error/170699/3 "2019-03-27T04:00:25Z")

</div>

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