use ip rather than hostname