cnodeclub项目里 redis配置报错了 NOAUTH Authentication required.
发布于 8 年前 作者 buhuan192 6816 次浏览 来自 问答

redis用的是阿里云的一个测试库,有密码,发现 在cnodeclub里面连不上,app.js配置如下 store: new RedisStore({ port: config.redis_port, host: config.redis_host, db:“0”, pass:"***" }), 在linux 下 用 redis-cli 命令 访问成功! 不知道是为什么,有么有 大哥大姐 了解的,求助 PS:redis第一次用,来学习研究的。

2 回复

可以尝试加上{no_ready_check: true}

@haozxuan 感谢。已解决。翻阅无数文档之后,发现原来阿里redis 验证规则是 ID:PSW 的自定义方式

回到顶部