sd4-github / backend_api

backend api for ecommerce site
0 stars 0 forks source link

mongodb ip whitelist #22

Closed sd4-github closed 1 year ago

sd4-github commented 1 year ago
soumikd4@soumik-inspiron3542:~/code/mycart/backend_api$ nodemon server.js
[nodemon] 2.0.22
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node server.js`
/home/soumikd4/code/mycart/backend_api/node_modules/connect-mongodb-session/index.js:88
        var e = new Error('Error connecting to db: ' + error.message);
                ^

Error: Error connecting to db: connection <monitor> to 52.0.126.221:27017 closed
    at /home/soumikd4/code/mycart/backend_api/node_modules/connect-mongodb-session/index.js:88:17
    at /home/soumikd4/code/mycart/backend_api/node_modules/connect-mongodb-session/node_modules/mongodb/lib/utils.js:349:66
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)                                                         

Node.js v18.16.0
[nodemon] app crashed - waiting for file changes before starting...
sd4-github commented 1 year ago

image

sd4-github commented 1 year ago

image

image