Windows10-啟動redis報錯: Could not create server TCP listening socket 127.0.0.1:6379: bind: 操作成功完成
解決方案:
運行: redis-cli.exe
執行命令:shutdown
退出:exit
重新啟動:redis-server.exe redis.windows.conf

windows系統下redis無法被遠程連接的解決辦法
1.修改redis安裝目錄下的redis.windows-service.conf文件

2.把查找 bind 127.0.0.1 在前面加個 # 注釋掉
#bind 127.0.0.1
3.把protected-mode yes 改成 protected-mode no
protected-mode no
4.修改密碼,查找 # requirepass foobared,添加如下命令:requirepass 123456 設置密碼為:123456

5.接着重啟redis服務

6.遠程連接測試(本地需要安裝Redis)
redis-cli -h 192.168.1.1(ip地址) -p 6379(端口號)
7.連接成功!

