I'm working with a nodejs over heroku using mLab with mongoDB and SailsJS
I'm getting the same issue that are commented here:
https://github.com/balderdashy/sails/issues/2480
(Error: connect ECONNREFUSED 127.0.0.1:27017)
I'm already try all the things that are commented on issue. My connections.js just have one connection configured and I using URI on configuration and set heroku config:set NPM_CONFIG_PRODUCTION=true
herokuMongodbServer: {
adapter: 'sails-mongo',
url: 'mongodb://(redacted)@ds249325.mlab.com:49325/heroku_33gpxp5x',
},
How can I solve the conection at this case?
Thanks!