Nodejs HTTP call error: socket hang up

[ERROR: Socket Hang up] code: ‘ECONNRESET’}

Analysis reason: For some reason, the HTTP target address establishment socket connection error

Error resolution: After
Compared with the search, I found that there was a use of the middleware “body-parser” in the NodeJS project here, so there is no problem to remove it

There are other reasons that I haven’t come across here, but I won’t go into them,


Read More: