How does the same origin policy apply to IP addresses <p>I have a server on our company intranet that runs JBoss. I want to send API calls to this server from my machine, also on the intranet, and get the resulting XML responses using JQuery. </p> <p>I read the entry on <a href="http://en.wikipedia.org/wiki/Same_origin_policy" rel="nofollow noreferrer">Wikipedia</a> but am confused how that applies to my situation, since our machines only have IP addresses, not domain names. </p> <p>I have</p> <ul> <li><strong>server URL</strong>: 10.2.200.3:8001/serviceroot/service</li> <li><strong>client IP address</strong>: 10.2.201.217</li> </ul> <p>My questions are:</p> <ol> <li>As far as I understand these are different domains, right? So I have to use a proxy to issue JQuery.ajax calls to the server</li> <li>If I want to avoid doing (2), can I install Apache on the server and server the page with JS code form there? But then the JS will be from 10.2.200.3 and the server is at 10.2.200.3:8001. Aren't these considered different domains according to policy?</li> </ol> <p>Thanks!</p>