use ip for redis connection