Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redis无法访问远程地址 #6229

Closed
zqf-git opened this issue May 17, 2024 · 1 comment
Closed

redis无法访问远程地址 #6229

zqf-git opened this issue May 17, 2024 · 1 comment

Comments

@zqf-git
Copy link

zqf-git commented May 17, 2024

版本号:3.6.1使用的微服务架构
分支: master?还是springboot3?master吧。。
前端版本: vue3版?还是 vue2版?没用到前端
问题描述:

微服务架构,启动我的业务模块(tszh) ,程序初始化RedisContainner报错连接不到本地的redis服务,我本地没有redis服务访问的远程redis 服务,nacos配置文件指向的redis地址就是远程访问的服务地址,所有配置文件都检查了包括代码中没有写到localhost的redis服务,但是程序就是报错链接本地redis异常。。。。该怎么办

截图&代码:

微信图片_20240517131553
微信图片_20240517131557

友情提示(为了提高issue处理效率):

  • 未按格式要求发帖、描述过于简抽象的,会被直接删掉;
  • 请自己初判问题描述是否清楚,是否方便我们调查处理;
  • 针对问题请说明是Online在线功能(需说明用的主题模板),还是生成的代码功能;
  • springboot3_sas分支采用 Spring Authorization Server 替换 Shiro,目前是beta版不稳定,生产项目不要使用;

微信图片_20240517131603
微信图片_20240517131608

@chenhengeng
Copy link

jeecgboot官方文档写的修改hosts文件,你是不是没修改hosts呀
https://help.jeecg.com/java/springcloud/switchcloud/monomer.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants