jedis
jedis copied to clipboard
delete isLoopbackAddress method
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.
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