Linux中redis 启动时无法找到配置文件,远程无法连接

错误信息:

# Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf

解决方法:再启动命令的后面加上redis.conf文件的路径

例:redis-server redis-3.0.7/redis.conf 

或者使用:redis-cli -h 127.0.0.1 -p 6379启动

或者配置文件启动

发布了9 篇原创文章 · 获赞 5 · 访问量 343

猜你喜欢

转载自blog.csdn.net/qq_43737121/article/details/104032496