Could not connect to Redis at xxx.xxx.xxx.xxx:6379: Connection refused
2017-11-20 12:36
671 查看
开发发来消息说测试环境的redis无法登录:
看了一下配置文件,发现bind的配置为:
修改一下配置文件即可:
# redis-cli -p 6379 -h xxx.xxx.xxx.xxx Could not connect to Redis at xxx.xxx.xxx.xxx:6379: Connection refused Could not connect to Redis at xxx.xxx.xxx.xxx:6379: Connection refused not connected> exit
看了一下配置文件,发现bind的配置为:
bind 127.0.0.1
修改一下配置文件即可:
bind 127.0.0.1 xxx.xxx.xxx.xxx #xxx.xxx.xxx.xxx是redis所在的服务器的地址
相关文章推荐
- Redis启动失败 服务端配置——Could not connect to Redis at 127.0.0.1:6379: Connection refused
- Could not connect to Redis at 127.0.0.1:6379: Connection refused
- 解决redis-cli连接时出现Could not connect to Redis at 127.0.0.1:6379: Connection refused
- Linux连接redis客户端出现Could not connect to Redis at 127.0.0.1:6379: Connection refused
- 【Redis】启动redis提示Could not connect to Redis at 127.0.0.1:6379: Connection refused 已解决
- redis使用命令行操作Could not connect to Redis at 127.0.0.1:6379: Connection refused not connected
- Redis 服务端配置——Could not connect to Redis at 127.0.0.1:6379: Connection refused
- Redis连接时报错:Could not connect to Redis at 127.0.0.1:6379: Connection refused
- Redis 服务端配置——Could not connect to Redis at 127.0.0.1:6379: Connection refused
- redis连接时报错:Could not connect to Redis at 127.0.0.1:6379: Connection refused
- Could not connect to Redis at 192.168.0.129:6379: Connection refused
- Linux连接redis客户端出现Could not connect to Redis at 127.0.0.1:6379: Connection refused
- 又记一个坑,redis部署在docker容器中Could not connect to Redis at <IP>
- redis数据导出,报错Could not connect to Redis at ip:port: Cannot assign requested address解决方法
- error 18483: could not connect to server 'dalian' because 'distributor_admin' is not defined as a remote login at the server.
- Could not connect to Redis No route to host问题解决
- log4j:ERROR Could not connect to remote log4j server at [localhost]. We will try again later.
- 解决Redis修改bind域名绑定后出现Could not connect to Redis
- Unable to connect to a repository at URL '': authorization failed: Could not authenticate to server:
- Redis系列~(十七)Could not connect to Redis No route to host问题解决