我是靠谱客的博主 优美镜子,这篇文章主要介绍redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketTimeoutException: connect...,现在分享给大家,希望可以做个参考。
错误排查:
复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24* 1.1 检查reids是否启动 * xhsell中: ps -aux|grep redis * 1.2 检查虚拟机防火墙是否关闭 service firewalld status 关闭防火墙:service firewalld stop * 1.3 redis保护模式必须关闭 * vim /myredis/redis.conf * 69行 , 注释bind 127.0.0.1 * 88行,protected-mode yes改为no * 关闭redis redis-server shutdown 重启redis服务 redis-server /myredis/redis.conf
最后
以上就是优美镜子最近收集整理的关于redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketTimeoutException: connect...的全部内容,更多相关redis.clients.jedis.exceptions.JedisConnectionException:内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复