I have 2 applications running on the same machine:
- node.js app running on port 15000
- a full javascript application running on port 15001
Both are served through nginx front end (each app defined as a virtual host)
Ajax requests from the javascript app (requesting resources from the node.js app) are not working.
Is this linked to restriction of Ajax for cross domain ? The domain is the same (only the port are differents).
Any idea ?
Different ports are seen as a different domains.
MDC Same Origin Policy