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 docker集群 连接不上 #17

Open
ESHidden opened this issue Feb 18, 2020 · 4 comments
Open

阿里云redis docker集群 连接不上 #17

ESHidden opened this issue Feb 18, 2020 · 4 comments

Comments

@ESHidden
Copy link

ESHidden commented Feb 18, 2020

image
如上图连不上,提示Socket operation timed out 检查ip:port连接信息无误
完全一样的地址,我用其他工具连接可以

@cc20110101
Copy link
Owner

工具tcp直连的,ip和端口通吗

@ESHidden
Copy link
Author

ESHidden commented Feb 19, 2020

是tcp 通的, 不过redis内部集群实例之间通讯使用的是docker 创建的虚拟网络,也就是我用工具远程连接这个节点是通过访问服务器真实公网ip,但是集群内部通信是另个一网络,我用redisdesktopmanage连接加载集群的时候会报错提示访问不到我内网ip,用aother.redis.desktop.manager连接单例就是正常的。
搭建redis集群参考的这个教程https://www.runoob.com/docker/docker-redis-cluster.html

@le-shi
Copy link

le-shi commented Apr 7, 2020

我的docker集群也连接不上,集群的创建方法跟你差不多,区别是我的集群和我的工作电脑是在同一个内网

@cc20110101
Copy link
Owner

docker的情况没有测试,内部虚拟网络应该是不支持

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