# Issue with getting Kibana3 work with Shiel

**URL:** <https://discuss.elastic.co/t/issue-with-getting-kibana3-work-with-shiel/24902>\
**Category:** Kibana\
**Created:** [July 4, 2015, 11:03pm UTC](https://discuss.elastic.co/t/issue-with-getting-kibana3-work-with-shiel/24902 "2015-07-04T23:03:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![deepakas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deepakas/32/697_2.png) [@deepakas](https://discuss.elastic.co/u/deepakas)\
**Post date:** [July 4, 2015, 11:03pm UTC](https://discuss.elastic.co/t/issue-with-getting-kibana3-work-with-shiel/24902/1 "2015-07-04T23:03:42Z")

</div>

Hi,

I am trying to get Kibana3 work with shield and getting the following error. I am running kibana3 on apache port 80.

This is the error I am getting.  
XMLHttpRequest cannot load [http://hostname:9200/\_nodes](http://hostname:9200/_nodes). The 'Access-Control-Allow-Origin' header has a value '[http://hostname:9200](http://hostname:9200)' that is not equal to the supplied origin. Origin '[http://hostname](http://hostname) is therefore not allowed access.

Is it possible to get both Kibana3 and Kibana 4 working at the same time with Shield ?

I tried both the following options without much luck.

http.cors.allow-origin: "[http://hostname:80](http://hostname:80)"

http.cors.allow-origin: "[http://hostname:9200](http://hostname:9200)"

http.cors.enabled: true

http.cors.allow-credentials: true

#http.cors.allow-origin: "/.\*/"

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 6, 2015, 5:46am UTC](https://discuss.elastic.co/t/issue-with-getting-kibana3-work-with-shiel/24902/2 "2015-07-06T05:46:00Z")

</div>

What's your apache config look like?

---

<div class="post-metadata">

**Author:** ![deepakas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deepakas/32/697_2.png) [@deepakas](https://discuss.elastic.co/u/deepakas)\
**Post date:** [July 7, 2015, 12:31pm UTC](https://discuss.elastic.co/t/issue-with-getting-kibana3-work-with-shiel/24902/3 "2015-07-07T12:31:31Z")

</div>

Hi Mark  
Thanks for the follow up. I resolved it.I changed to port 80 in kibana config.js so that only one port is used for kibana and querying elasticsearch.

Thanks, Deepak

---

<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 6, 2017, 2:16pm UTC](https://discuss.elastic.co/t/issue-with-getting-kibana3-work-with-shiel/24902/4 "2017-07-06T14:16:56Z")

</div>

Closed on July 6, 2017, 2:16pm UTC


