Getting No 'Access-Control-Allow-Origin' header is present on the requested resource when trying to access my node express web service from my ember application.
I have a node web service project running on http://localhost:3000
And my ember application project running on http://localhost:63342
When I try to connect to my server and request customer (http://localhost:3000/customers
) I get:
XMLHttpRequest cannot load http://localhost:3000/customers. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:63342' is therefore not allowed access.
I assume I need to do something on the rest adapter to allow this? Or is there are way to have both projects listening in the same port? Which would be the best way?