1.连接redis服务端时,设置值会报错
3.打开redis.window.conf查找requirepass 把这个直接注释掉
在改变配置文件后,需要重启一下redis的服务端
redis-server.exe redis.windows.conf