# Elastic maps

**URL:** https://discuss.elastic.co/t/elastic-maps/228857
**Category:** Kibana
**Tags:** maps
**Created:** [April 20, 2020, 12:00pm UTC](https://discuss.elastic.co/t/elastic-maps/228857 "2020-04-20T12:00:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Ananya\_Mohiley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ananya_mohiley/32/61989_2.png) [@Ananya\_Mohiley](https://discuss.elastic.co/u/Ananya_Mohiley)
#### Post date: [April 20, 2020, 12:00pm UTC](https://discuss.elastic.co/t/elastic-maps/228857/1 "2020-04-20T12:00:30Z")

</div>

hi i have been trying to access maps from geoserver configured on my localhost. while i can access these maps on my other GIS applications like Arc and QGIS but here i am not able to do the same  
when accessed the dev options following is shown

"\*\*

> Access to fetch at '[http://localhost:8080/geoserver/wms/project1?version=1.1.1&request=GetCapabilities&service=WMS](http://localhost:8080/geoserver/wms/project1?version=1.1.1&request=GetCapabilities&service=WMS)' from origin '[http://localhost:5601](http://localhost:5601)' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled."

\*\*

and when i try to add layer in elastic maps it gives out a message of

_\> failed to load metadata_

> Blockquote

---

<div class="post-metadata">

### Author: ![dosant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dosant/32/64489_2.png) [@dosant](https://discuss.elastic.co/u/dosant)
#### Post date: [April 20, 2020, 12:45pm UTC](https://discuss.elastic.co/t/elastic-maps/228857/2 "2020-04-20T12:45:10Z")

</div>

Hi @Ananya_Mohiley,

Looks like `CORS` are not configured on your geoserver in a way that Kibana could access it.  
Please make sure `CORS` are configured in such way that `http://localhost:5601` has access.

I'd refer to geoserver documentation and looked for `cors`

Hope this is helpful

---

<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: [May 18, 2020, 12:45pm UTC](https://discuss.elastic.co/t/elastic-maps/228857/3 "2020-05-18T12:45:17Z")

</div>

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