How to disable same origin policy Internet Explorer
Chrome allows us to disable the same origin policy, so we can test cross origin requests. I would like to know if there any possibility to do the same thing in IE
Yes you can set this in Internet Options: Go to the Security tab. For the current zone click the "Custom level..." button. In the next window, scroll about a third of the way down to "Miscellaneous > Access data sources across domains" and set it to "Enable". If the current zone is Internet, then you should add the site to the trusted and set this option for the trusted zone instead.
Note that this will effectively disable CORS and will not set the Origin header in the request.
If the resource your accessing requires authentication, you'll need to deal with this manually in the request or pre-authenticate yourself in your current browser session.
On my computer I am using internet explorer 11 version I also have the same problem. I have done following steps to solve my problem.
Step 1 : Allow Cross domain Access
(Press) Alt -> Tools -> Internet Options -> Security (Tab) -> Custom Level -> Miscellaneous -> Access data sources across domains -> Set to Enable
Step 2: Disable Protected mode
(Press) Alt -> Tools -> Internet Options -> Security (Tab) -> uncheck Enable Protected mode for Internet & Local Intranet
Step 3: Add localhost/domain to trusted site
(Press) Alt -> Tools -> Internet Options -> Security (Tab) -> Trusted site -> Sites -> Uncheck Require server verification(https:) -> enter localhost url & click on add button.