使用vue配置代理时前端请求的时候报服务器端错误504;vue控制台报错Error occurred while trying to proxy request
报错详情[HPM] Error occurred while trying to proxy request /login/ from 127.0.0.1:8080 to http://127.0.0.1:8081 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)在网上找了资料发现各种..
·
报错详情[HPM] Error occurred while trying to proxy request /login/ from 127.0.0.1:8080 to http://127.0.0.1:8081 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)
在网上找了资料发现各种答案,然后本人试了几种,发现应该是端口存在问题,
最后将代理地址改为了http://127.0.0.1:9090就解决了!
更多推荐
已为社区贡献2条内容
所有评论(0)