Compartmentalized online host finding in getConnection();