windows remote connection redis

1. remote computer password

2. Comment redis.windows-service.conf bind 127.0.0.1 in this line (preceded by #)

3. The same file will be protected-mode yes into protected-mode no

4. Save and restart the service redis

5. ensure the local and remote computers through a ping, or open PowerShell cmd, enter the command in the unit directory redis

redis-cli -h 192.168.1.1 -p 6379 -a 12345

Note that this does not directly open operation reids-cli.exe

Guess you like

Origin www.cnblogs.com/netcorner/p/12592022.html