mudassir
app has been crashed no one file change before starting
app/node_modules/mysql2/promise.js:341
const localErr = new Error();
^
Error: connect ECONNREFUSED 103.193.72.22:3000
at PromisePool.query (/app/node_modules/mysql2/promise.js:341:22)
at _callee$ (/app/src/controllers/homeController.js:8:41)
at tryCatch (/app/src/controllers/homeController.js:15:2404)
at Generator._invoke (/app/src/controllers/homeController.js:15:1964)
at Generator.next (/app/src/controllers/homeController.js:15:3255)
at asyncGeneratorStep (/app/src/controllers/homeController.js:29:103)
at _next (/app/src/controllers/homeController.js:31:194)
at /app/src/controllers/homeController.js:31:364
at new Promise (<anonymous>)
at /app/src/controllers/homeController.js:31:97 {
code: 'ECONNREFUSED',
errno: -111,
sql: undefined,
sqlState: undefined,
sqlMessage: undefined
}
Node.js v18.18.2
[nodemon] app crashed - waiting for file changes before starting...
36 replies