使用jedis服务器报错redis.clients.jedis.exceptions.JedisConnectionException: Failed connecting to host

首先,使用 ps -ef|grep redis查看是否你的redis是127.0.0.1:6379 若是是,在redis.conf里把bind x.x.x.x改为该服务器的内网ip!重启redis.
相关文章
相关标签/搜索