报错如下:
[HPM] Error occurred while trying to proxy request /api/user/getInnerLabel from 192.168.43.242:9528 to http://192.168.43.242:8008 (ECONNREFUSED) ( https://nodejs.org/api/errors.html#errors_common_system_errors) [HPM] Error occurred while trying to proxy request /api/captcha/code from 192.168.43.242:9528 to http://192.168.43.242:8008 (ECONNREFUSED) (https: //nodejs.org/api/errors.html#errors_common_system_errors) [HPM] Error occurred while trying to proxy request /api/user/initLogin from 192.168.43.242:9528 to http://192.168.43.242:8008 (ECONNREFUSED) (http s://nodejs.org/api/errors.html#errors_common_system_errors)
报错原因:前端代理到后台的时候,没有找到后台。如何发现呢?浏览器访问http://192.168.43.242:8008,报错找不到页面,如下所示:
说明后台无法访问,最后发现是端口错了。