如果我更改了 redis conf 文件中的 IP 和端口,则无法连接 Redis 客户端
Unable to connect Redis Client if I changed the IP and port in redis conf file
如果我在 redis.conf 文件中将 IP 从 127.0.0.1 更改为我的本地 IP,然后启动 redis 客户端 (redis-cli.exe),它会出现黑屏。Redis-client console
任何人都可以告诉我解决方案,如何在这种情况下使用 strat redis-client。
redis-cli 使用 127.0.0.1:6379
作为默认地址进行连接。由于您更改了此地址,请将 -h <newip>
添加到您的 redis-cli 调用中。
喜欢E:\work\Redis\redis-cli.exe -h 192.168.1.1
如果我在 redis.conf 文件中将 IP 从 127.0.0.1 更改为我的本地 IP,然后启动 redis 客户端 (redis-cli.exe),它会出现黑屏。Redis-client console
任何人都可以告诉我解决方案,如何在这种情况下使用 strat redis-client。
redis-cli 使用 127.0.0.1:6379
作为默认地址进行连接。由于您更改了此地址,请将 -h <newip>
添加到您的 redis-cli 调用中。
喜欢E:\work\Redis\redis-cli.exe -h 192.168.1.1