ps -ef|grep redis查看6379前面是否为* 若为127.0.0.1则被限制在本地访问 在redis-conf注释掉bind 127.0.0.1 (取消绑定本地地址) 重新远程连接,OK!