Having the same issue @Joseph_Gan has. It looks like one has to set up host files in order for the replica set connection string to work; however, we are trying to set up a replica set to run integration tests on CI hosts. Modifying the hosts file is unlikely a proper solution.