# Ionic 2 CORS issue

**URL:** <https://forum.ionicframework.com/t/ionic-2-cors-issue/59815>\
**Category:** ionic-v3\
**Created:** [August 8, 2016, 2:15am UTC](https://forum.ionicframework.com/t/ionic-2-cors-issue/59815 "2016-08-08T02:15:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![vaibsVB](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/vaibsvb/32/102515_2.png) [@vaibsVB](https://forum.ionicframework.com/u/vaibsVB)\
**Post date:** [August 8, 2016, 12:02pm UTC](https://forum.ionicframework.com/t/ionic-2-cors-issue/59815/2 "2016-08-08T12:02:24Z")

</div>

Try this link that might helps you.

> [@How to do proxy to avoid CORS for ionic2 apps?](https://forum.ionicframework.com/t/how-to-do-proxy-to-avoid-cors-for-ionic2-apps/59503/2):
>
> Try to use chrome with --disable-web-security you will find many articles on how to disable-web-security of chrome for only development purpose… assuming you are using MAC machine… try this command on terminal… open -n -a “Google Chrome” --args --user-data-dir=/tmp/temp\_chrome\_user\_data\_dir\_for\_cordova [http://localhost:8100/](http://localhost:8100/) --disable-web-security which opens another instance of chrome with disabled security and there is no CORS issue any more… as per I know this command will not hamper y…

(if you are working on MAC machine)

or this

> [@How to do proxy to avoid CORS for ionic2 apps?](https://forum.ionicframework.com/t/how-to-do-proxy-to-avoid-cors-for-ionic2-apps/59503/4):
>
> This link might help you to disable web security of chrome on Windows machine. Read the first comment on this link. And another thing is if you facing CORS issue io browser, first try to deploy the app on a real device. Most probably it works fine on a real device. This happens only because of browser’s security settings it avoids you for CORS. Firstly check whether your code working on a real device. If it works properly then create another instance of chrome with disabled security followi…

(if you are working on windows machine)

---

_[View the full topic](https://forum.ionicframework.com/t/ionic-2-cors-issue/59815)._
