Express simple blog api deployed but having Error: read ECONNRESET

So I have deployed my easy blog api built with express, nodejs, mongoose and passport, etc.
It works fine when running on localhost, but when I deployed on Fly following every step, it turned out that I am getting a Error: read ECONNRESET whenever I am trying to use the api endpoints.

These are the last few lines of the monitoring of the app on Fly. It does not seem to have any issues?

2023-03-22T18:29:06.866 runner[fdb0ff46] yyz [info] Starting virtual machine

2023-03-22T18:29:07.083 app[fdb0ff46] yyz [info] Starting init (commit: 08b4c2b)…

2023-03-22T18:29:07.107 app[fdb0ff46] yyz [info] Preparing to run: npm run start as root

2023-03-22T18:29:07.133 app[fdb0ff46] yyz [info] 2023/03/22 18:29:07 listening on [fdaa:1:b6c9:a7b:88dc:fdb0:ff46:2]:22 (DNS: [fdaa::3]:53)

2023-03-22T18:29:07.781 app[fdb0ff46] yyz [info] > blog-api@0.0.0 start

2023-03-22T18:29:07.781 app[fdb0ff46] yyz [info] > node ./bin/www

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.