# How to disable CORS when using OVA on VirtualBox (Ubuntu)

**URL:** <https://community.graylog.org/t/how-to-disable-cors-when-using-ova-on-virtualbox-ubuntu/3168>\
**Category:** Graylog Central (peer support)\
**Created:** [November 14, 2017, 4:46pm UTC](https://community.graylog.org/t/how-to-disable-cors-when-using-ova-on-virtualbox-ubuntu/3168 "2017-11-14T16:46:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bal](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/bal/32/1114_2.png) [@bal](https://community.graylog.org/u/bal)\
**Post date:** [November 14, 2017, 4:46pm UTC](https://community.graylog.org/t/how-to-disable-cors-when-using-ova-on-virtualbox-ubuntu/3168/1 "2017-11-14T16:46:27Z")

</div>

I need to disable the CORS for the API.  
I am developing a Tableau connector for Graylog API and the connection is failing as the API server does not allow cross origin requests.

How to disable CORS for REST API?

Basically, I am getting this error when trying to access the API from another domain

No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘[http://127.0.0.1:9000](http://127.0.0.1:9000)’ is therefore not allowed access.

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [November 14, 2017, 5:14pm UTC](https://community.graylog.org/t/how-to-disable-cors-when-using-ova-on-virtualbox-ubuntu/3168/2 "2017-11-14T17:14:40Z")

</div>

just use the configuration file:

> <https://github.com/Graylog2/graylog2-server/blob/2.3/misc/graylog.conf#L92-L95>

//Edit  
my bad - i had notice to late you are using the OVA. That is actually not possible.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [November 28, 2017, 5:14pm UTC](https://community.graylog.org/t/how-to-disable-cors-when-using-ova-on-virtualbox-ubuntu/3168/3 "2017-11-28T17:14:55Z")

</div>

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