Monday 8 February 2016

Help setting config.json

im in university and have as a project to continue an app from last year. Im trying to launch the nodejs app but got this error:ScanOID started events.js:72 throw er; // Unhandled 'error' event ^ Error: connect ECONNREFUSED at errnoException (net.js:901:11) at Object.afterConnect [as oncomplete] (net.js:892:19) I'm trying to run it on local host, what should i change on the configuration ? config.json:{ "config" : { "port" : 8080, "app" : "ScanOID", "urldev" : "127.0.0.1:5433", "secret" : "scanoid" }, "schedule" : { "statDay" : 1, "statHour" : 0, "statMin" : 0, "statSec" : 0, "productDay" : 1, "productHour" : 1, "productMin" : 0, "productSec" : 0 }, "email" : { "mail_address" : "*@gmail.com", "mail_password" : "***" }, "misc" : { "numberClientPostPrice" : 1, "timeConnexion" : 5400, "timeEmail" : 259200, "sizeRandomEmail" : 128, "sizeRandomPassword" : 16, "nominatimURL" : "nominatim.openstreetmap.org" }, "redis" : { "db_port" : 6379, "db_host" : "127.0.0.1", "db_app" : "scanoid", "db_uapp" : "userscanoid", "db_pass" : "***" }, "stats" : [ "product_research", "connection", "registration", "price_entry" ], "postgresql" : { "db_host" : "127.0.0.1", "db_name" : "postgres", "db_port" : 5433, "db_user" : "postgres", "db_pass" : "azerty", "pool_min" : 10, "pool_max" : 10, "pool_idleTimeoutMillis" : 30000, "pool_log" : false }, "web" : { "title" : "ScanOID", "authors" : [ "*" ], "keywords" : [ "collaboratif", "produit", "magasin", "moins chere" ], "content_type" : "text/html", "charset" : "UTF-8" }, "admin" : { "files" : [ { "name" : "config.json", "path" : "./" }, { "name" : "package.json", "path" : "./" } ], "administrators" : [ "muenier.elliott@gmail.com", "steph.meresse@gmail.com", "application.scanoid@gmail.com" ] }, "stringError" : { "serverError" : "le serveur à rencontré une erreur", "redisError" : "la base de données redis a renvoyé une erreur", "postgresqlError" : "la base de données postgreSQL a renvoyé une erreur", "nodemailerError" : "un email n'a pas pu être envoyé à votre adresse", "noAuthorization" : "vous ne pouvez pas acceder à ce service" }, }

Submitted February 08, 2016 at 12:20PM by SerkSerk

No comments:

Post a Comment