[Redis] Remote access can not

After Windows is installed, start the service profile is redis.windows-service.conf

"D:\Program Files\Redis\redis-server.exe" --service-run "D:\Program Files\Redis\redis.windows-service.conf"

So we need to modify redis.windows-service.conf

1, protected-mode yes --- "protected-mode no [no change] can also

2、bind 127.0.0.1 ---》#bind 127.0.0.1

3,6379 firewall turned on

4、#requirepass foobared ---》requirepass foobared

This machine tests

Remote Test

 Create a bat file start.bat

Use redis.windows.conf profile start redis

 

Guess you like

Origin www.cnblogs.com/defineconst/p/10979046.html