Proxy error: Could not proxy request /email from localhost:3000 to http://127.0.0.1:5000/ (ECONNRESET). code example

Example 1: react proxy error: could not proxy request from localhost:3000 to http localhost:5000 econnreset

"start": "./node_modules/.bin/concurrently \"./node_modules/.bin/nodemon\" \"npm run client\"",

Example 2: react proxy error: could not proxy request from localhost:3000 to http localhost:5000 econnreset

"start": "./node_modules/.bin/concurrently \"npm run server\" \"npm run client\"",