当前位置:网站首页>Could not connect to redis at 127.0.0.1:6379 in Windows

Could not connect to redis at 127.0.0.1:6379 in Windows

2022-06-25 15:26:00 BlackPenguin

The reason for this problem is : Server not started . You should start the server first , Start the client again .


First , Make sure that redis Add to the system path . System variables ->PATH->D:\software\Redis ( This is my redis The installation path )


terms of settlement

  1. Close all cmd Command line window

  2. Open a new command line window ,cd To redis Under the table of contents , Then input

    redis-server.exe redis.windows.conf

    Start server . Don't close the window
     Insert picture description here

  3. Open a new command line window , Start client
    redis-cli
     Insert picture description here

原网站

版权声明
本文为[BlackPenguin]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202200502589779.html