3

Redis5 集群 ip 问题

 2 years ago
source link: https://www.v2ex.com/t/847615
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  Redis

Redis5 集群 ip 问题

  cuipai · 16 小时 55 分钟前 via iPhone · 250 次点击
我使用的是 SpringBoot2redis5 ,连接池 lettuce ,在配置文件 application.yml 中配置的 redis 集群,ip 是外网的。登录 redis 集群执行 cluster info 和 cluster nodes 也是外网,集群的配置文件 ip 也是外网。
 但是控制台报错,连接不上,日志打印的是 redis 服务器内网 ip ,不知道什么原因。
 这是个多模块的项目,有的模块连不上,有的可以连上,有的重启下可能连上可能连不上。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK