diff --git a/src/tests/userregistry.cpp b/src/tests/userregistry.cpp index 7e567cfdd7443e40ea95fcaf45582b1202eb350b..83fb21a13f0683d575f9bd2b8682a3fa58bb03c0 100644 --- a/src/tests/userregistry.cpp +++ b/src/tests/userregistry.cpp @@ -36,7 +36,7 @@ class UserRegistryTest : public CPPUNIT_NS :: TestFixture { userRegistry->onConnectUser.connect(bind(&UserRegistryTest::handleConnectUser, this, _1)); userRegistry->onDisconnectUser.connect(bind(&UserRegistryTest::handleDisconnectUser, this, _1)); - server = new Swift::Server(loop, factories, userRegistry, "localhost", 5222); + server = new Swift::Server(loop, factories, userRegistry, "localhost", "0.0.0.0", 5222); server->start(); connectionServer = server->getConnectionServer();