I have a jquery ajax call
$.get("http://localhost:82/store-app/public/Index/getstylinginfo"
When I run it from IE using local host it works fine. but when I try to run it using IE using my ip address it doesnt fetch the data . any idea what I may be doing wrong ?
localhostand your IP address are not the same domain. They may be the same machine; one may even point to the other, but they are separate domains, and so you cannot access one from the other because of the Same Origin Policy.To avoid coming up against the Same Origin Policy, you must use the same domain, protocol and port as in the original document.