windows版redis无法远程连接访问

双击redis-server.exe打开redis服务端,无法远程连接访问

1、在redis.windows.conf配置文件中,注释掉56行的bind

 2、在75行把protected-mode改为no(默认为yes)

 3、用命令行启动redis,输入命令redis-server redis.windows.conf,回车

 注:在Windows系统上,用redis进行远程连接不能通过redis-server.exe直接打开,而是需要在dos窗口输入命令行打开,redis-server redis.windows.conf

posted @ 2023-03-28 23:15  一隅桥畔  阅读(409)  评论(0)    收藏  举报