本人电脑 在D:\Program Files\Redis路径下 找到redis.windows.conf和redis.windows-service.conf两个文件 修改里面的requirepass的值 然后重启redis服务即可