Changed config.json with json to config.json with a module.
Actually using Config.db.url from config.js to find elasticsearch.