Hi,
I search to install Apostrophe 2 on a server and I have a mongo database installed on a remote server. When I launch the command:
node app.js apostrophe-users:add admin admin, the error is:
ERROR: There was an issue connecting to the database. Is it running?
Error while constructing the apostrophe-db module
MongoError: failed to connect to server [localhost:27017] on first connect
It’s mandatory to have mongo on the same server ?
I copy the local.example.je in local.js and I change the uri string in:
uri: ‘mongodb://myremoteserver:27017/apostrophe-sandbox’
But the problem is the same,
Thanks for your help,
Franck