# Cors issue when connect to https://cloud.elastic.co from localhost

**URL:** <https://discuss.elastic.co/t/cors-issue-when-connect-to-https-cloud-elastic-co-from-localhost/165825>\
**Category:** Elasticsearch\
**Created:** [January 25, 2019, 8:16pm UTC](https://discuss.elastic.co/t/cors-issue-when-connect-to-https-cloud-elastic-co-from-localhost/165825 "2019-01-25T20:16:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jadore](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jadore/32/45191_2.png) [@jadore](https://discuss.elastic.co/u/jadore)\
**Post date:** [January 25, 2019, 8:16pm UTC](https://discuss.elastic.co/t/cors-issue-when-connect-to-https-cloud-elastic-co-from-localhost/165825/1 "2019-01-25T20:16:12Z")

</div>

I get the following:

Access to XMLHttpRequest at '[https://4f4d7f8057994c799b62dc739024dbbf.ap-southeast-1.aws.found.io:9243/](https://4f4d7f8057994c799b62dc739024dbbf.ap-southeast-1.aws.found.io:9243/)' from origin '[http://localhost:3000](http://localhost:3000)' has been blocked by CORS policy: Request header field authorization is not allowed by Access-Control-Allow-Headers in preflight response.

I have another trial account and it works fine and I want to use the newly create account as my main to subscribe to the service.

settings are left untouched.

---

<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:** [February 22, 2019, 8:16pm UTC](https://discuss.elastic.co/t/cors-issue-when-connect-to-https-cloud-elastic-co-from-localhost/165825/2 "2019-02-22T20:16:18Z")

</div>

Closed on February 22, 2019, 8:16pm UTC

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