摘要: 1.redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool 查看代码:出现在创建jedisCluster对象这里,创建的对象,里面的host为127.0.0.0.1 阅读全文
posted @ 2020-02-27 18:16 山沉 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 1.由于系统为:CentOS 7.6,所以在阿里云中配置安全组 总线端口18000/18005,给客户端使用的端口8000/8001 2.编写脚本 1.redis_set.text config set masterauth xxx config set requirepass xxx auth x 阅读全文
posted @ 2020-02-27 13:57 山沉 阅读(178) 评论(0) 推荐(0) 编辑