本地ping不通linux上的redis 端口6379

修改redis配置文件

bind 127.0.0.1 改为0.0.0.0即可

redis客户端连接成功。

猜你喜欢

转载自blog.csdn.net/qq_29410905/article/details/84623526