angular-university/angular-security-course

[HPM] Error occurred while trying to proxy request /api/user from localhost:4200 to https://localhost:9000 (ECONNRESET) (https://nodejs.org/api/errors.html#errors_co mmon_system_errors)

SLNaresh opened this issue · 0 comments

Hi,

When i run 'npm start', i am getting this error.

[HPM] Error occurred while trying to proxy request /api/user from localhost:4200 to https://localhost:9000 (ECONNRESET) (https://nodejs.org/api/errors.html#errors_co
mmon_system_errors)

npm start and npm run server are running in 2 different mobaxterm terminals. Localhost is running on https and i have accepted unsafe from chrome.

From chrome network tab, i am getting this msg 'Error occured while trying to proxy to: localhost:4200/api/user'

API info:

Request URL: https://localhost:4200/api/user
Request Method: GET
Status Code: 504 Gateway Timeout
Remote Address: 127.0.0.1:4200
Referrer Policy: no-referrer-when-downgrade

Please help.