jedis icon indicating copy to clipboard operation
jedis copied to clipboard

delete isLoopbackAddress method

Open xiaohu-zhang opened this issue 5 years ago • 1 comments

when user use 127.0.0.1 ip to connect to redis. Jredis throw exception.the code should enable calling redis by 127.0.0.1 and localhost ip.

xiaohu-zhang avatar Mar 14 '19 02:03 xiaohu-zhang

when user use 127.0.0.1 ip to connect to redis.jedis will convert the 127.0.0.1 to the real net address by method InetAddress.getLocalHost().getHostAddress().but the redis may not enable connect except using 127.0.0.1 ip connect to it

xiaohu-zhang avatar Mar 14 '19 10:03 xiaohu-zhang