在windows 上的RedisClient 上连接远程linux redis ("jave.net.ConnectException: Connection refused:connect")

1、把防火墙禁用掉

2、redis.conf配置文件,注释掉bind 127.0.0.1

3、重启redis服务
原文地址:https://www.cnblogs.com/mmady/p/7099073.html