解决redis-cli连接时出现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
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
解決redis-cli連接時Could not connect to Redis at 127.0.0.1:6379: Connection refused
原因:服務端未啟動
[root@localhost bin]# ./redis-server redis.conf
[root@localhost bin]# redis-cli
-bash: redis-cli: 未找到命令
[root@localhost bin]# ./redis-cli
127.0.0.1:6379>
總結
以上是生活随笔為你收集整理的解决redis-cli连接时出现Could not connect to Redis at 127.0.0.1:6379: Connection refused的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【21】基于java的旅游信息管理系统
- 下一篇: 2019.02.09 bzoj4455: