I remember once I had a similar problem but I then had to set the value of the process_env variable I change to the one from the settings. It was not for the database though. Could you try something like that ?
Hi @yozawiratama, did you manage to solve this? I am currently battling through this and for the life of me, I cannot stop my app connecting to the localhost:3001 MongoDB instance.
Actually, I just got this to work. Apparently, when running your app on localhost, you have to set the MONGO_URL env variable through the console when you fire up your app →
MONGO_URL=mongodb://localhost:27017/databasename meteor run
settingsLOC.json contains no mongoURL settings.
DATABASENAME to be replaced with your db name, obviously
(I use this to read back a dump from production db’s)