pangzi5920 发表于 2019-5-24 16:42:54

jeecg-boot 2.0 登陆时报Could not proxy request /jeecg-boot/sys/login from...





如图1 后台启动正常   图2 yarn run serve 正常   图3 访问里输admin/123456点登陆时报代理错误   不知哪里出了问题???
除改了数据库链接地址redis地址外其它全是默认

admin_jh9 发表于 2019-5-24 17:02:20

redis有密码没

admin_jh9 发表于 2019-5-24 17:02:41

项目如何启动      http://jeecg-boot.mydoc.io/?t=345671

pangzi5920 发表于 2019-5-24 17:30:32

admin_jh9 发表于 2019-5-24 17:02 static/image/common/back.gif
项目如何启动      http://jeecg-boot.mydoc.io/?t=345671

redis 没有密码之前jeecg 的swagger 就是连这个redis没有问题的
现在jeecg-boot 2.0 前后端分离后 报代理的错误
Proxy error: Could not proxy request /jeecg-boot/sys/login from localhost:3000 to http://localhost:8080/ (ECONNREFUSED)

不知问题出在哪里    就是按上面你发的网址中的教程搞的郁闷中。。。

admin_jh9 发表于 2019-5-24 18:24:32

4、在线接口文档swagger   
    http://localhost:8080/jeecg-boot/swagger-ui.html
    http://localhost:8080/jeecg-boot/doc.html
    登录名:jeecg,密码jeecg1314


直接访问下后台,看看能访问不

阿虎 发表于 2019-5-28 16:15:34

admin_jh9 发表于 2019-5-24 18:24 static/image/common/back.gif
4、在线接口文档swagger   
    http://localhost:8080/jeecg-boot/swagger-ui.html
    http://localhost: ...

我也遇到了同样的问题,登录的时候报这个错,请问如何解决?
Proxy error: Could not proxy request /jeecg-boot/sys/logout from localhost:3000 to http://localhost:8088/.
See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).

admin_jh9 发表于 2019-5-28 16:51:07

你这后台怎么对应 http://localhost:8088端口
页: [1]
查看完整版本: jeecg-boot 2.0 登陆时报Could not proxy request /jeecg-boot/sys/login from...