# Elastic http cors is not working

**URL:** https://discuss.elastic.co/t/elastic-http-cors-is-not-working/38809
**Category:** Elasticsearch
**Created:** [January 10, 2016, 12:40pm UTC](https://discuss.elastic.co/t/elastic-http-cors-is-not-working/38809 "2016-01-10T12:40:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![LiorK](https://avatars.discourse-cdn.com/v4/letter/l/65b543/32.png) [@LiorK](https://discuss.elastic.co/u/LiorK)
#### Post date: [January 10, 2016, 12:40pm UTC](https://discuss.elastic.co/t/elastic-http-cors-is-not-working/38809/1 "2016-01-10T12:40:06Z")

</div>

when trying to add the following line to elasticsearch yml i notice that kibana stop working and es is not responding in 9200

http.cors.enabled: true  
http.cors.allow-origin: "/._/"  
or http.cors.allow-origin: "_"

wrote it without space in each line

i am using kibana 4.3.0 and es 2.10-1  
thanks.

---

<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: [July 5, 2017, 11:25pm UTC](https://discuss.elastic.co/t/elastic-http-cors-is-not-working/38809/2 "2017-07-05T23:25:35Z")

</div>


