Unable to connect to Redis; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1:6379


Unable to connect to Redis; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1:6379
/sbin/iptables -I INPUT -p tcp --dport 6379 -j ACCEPT
Microsoft Windows [版本 10.0.19045.2965]
(c) Microsoft Corporation。保留所有权利。
C:\Users\Administrator>e:
E:\>
E:\>cd E:\Document_Redis_Windows\redis-2.4.5-win32-win64\64bit
E:\Document_Redis_Windows\redis-2.4.5-win32-win64\64bit>
E:\Document_Redis_Windows\redis-2.4.5-win32-win64\64bit>redis-server.exe redis.conf
[38148] 25 Nov 02:26:14 * Server started, Redis version 2.4.5
[38148] 25 Nov 02:26:14 * DB loaded from append only file: 0 seconds
[38148] 25 Nov 02:26:14 * The server is now ready to accept connections on port 6379
[38148] 25 Nov 02:26:15 - DB 0: 15 keys (0 volatile) in 32 slots HT.
[38148] 25 Nov 02:26:15 - 0 clients connected (0 slaves), 1191960 bytes in use


io.lettuce.core.RedisConnectionException-优快云博客



为什么提示不直接出来密码错误呢,然后密码复制到配置文件哪里错了。晕了。

吃个饭然后认真又看了一下,测试一下环境,对了



eclipse4.7 yaml editor 1.9.0_eclipse yaml editor 使用_spencer_tseng的博客-优快云博客
Redis连接失败:解决Windows上Lettuce连接127.0.0.1:6379的问题
文章描述了在Windows环境下使用Redis时遇到的连接问题,包括RedisConnectionException和iptables设置。作者探讨了配置错误和密码验证问题,最终解决了连接问题。
9315

被折叠的 条评论
为什么被折叠?



