Reputation: 857
I'm trying to connect to my parse server in javascript with the following code:
Parse.initialize("myappid", "myclientkey");
Parse.serverURL = "http://myserver.com/parse";
And I'm getting the following error:
POST: 404 Not found
When I initialize my iOS project with the same exact credentials, the app seems to work fine. Any idea why?
Thanks!
Upvotes: 0
Views: 177
Reputation: 26
Make sure you've opened up the required ports on your EC2 AWS server. The address you list assumes port 80. Parse listens by default on port 1337.
So either configure your parse server to start on port 80 or open up port 1337 and use http://server.com:1337/parse to connect.
Upvotes: 1