autoconnect when only one host is deployed