# CORS problem in Kibana Map

**URL:** <https://discuss.elastic.co/t/cors-problem-in-kibana-map/193710>\
**Category:** Kibana\
**Created:** [August 5, 2019, 3:47am UTC](https://discuss.elastic.co/t/cors-problem-in-kibana-map/193710 "2019-08-05T03:47:47Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [August 6, 2019, 3:04pm UTC](https://discuss.elastic.co/t/cors-problem-in-kibana-map/193710/4 "2019-08-06T15:04:41Z")

</div>

What are you using to host the local GeoJSON file?

In the [blog post](https://www.elastic.co/cn/blog/custom-region-maps-in-kibana-6-0) we give an example of using `http-server --cors='*' -p 8000`. But I've found that `http-server --cors="kbn-version" -p 8000` works better.

---

_[View the full topic](https://discuss.elastic.co/t/cors-problem-in-kibana-map/193710)._
