飞道的博客

Proxy error: Could not proxy request

12351人阅读  评论(0)

VUE项目启动后,登录,发现报错:

Proxy error: Could not proxy request /user/login from localhost:8089 to http://***。**。**:8081/.
See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ENOTFOUND).

报错很明显,代理不过去,需要修改代理配置:

找到vue.config.js ,其中有配置代理的部分,改成正确的后端地址即可:


参考:


转载:https://blog.csdn.net/sinat_40770656/article/details/109121241
查看评论
* 以上用户言论只代表其个人观点,不代表本网站的观点或立场