脚本宝典收集整理的这篇文章主要介绍了Could not connect to Redis at 127.0.0.1:6379: Connection refused,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
开机启动后输入redis-cli
报错
[root@Miwifi-R4CM-srv ~]# redis-cliCould not connect to Redis at 127.0.0.1:6379: Connection refusedCould not connect to Redis at 127.0.0.1:6379: Connection refused
当我们输入redis-server的时候,发现是可以启动的,是前台启动的。
通过命令行:输入redis的基本连接信息,发现
看到这里,我就发现了,这个启动的目录不就是redis刚下载的那个目录吗?
Warning: no config file sPEcified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
以上是脚本宝典为你收集整理的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所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。