summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Glacier2Lib/SessionHelper.cpp6
-rw-r--r--cpp/src/IceGrid/NodeCache.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/Glacier2Lib/SessionHelper.cpp b/cpp/src/Glacier2Lib/SessionHelper.cpp
index efacc6e7727..bc3d471aa37 100644
--- a/cpp/src/Glacier2Lib/SessionHelper.cpp
+++ b/cpp/src/Glacier2Lib/SessionHelper.cpp
@@ -794,7 +794,7 @@ SessionHelperI::dispatchCallbackAndWait(const Ice::DispatcherCallPtr& call, cons
}
Glacier2::SessionFactoryHelper::SessionFactoryHelper(const SessionCallbackPtr& callback) :
- _routerHost("127.0.0.1"),
+ _routerHost("localhost"),
_secure(true),
_port(0),
_timeout(10000),
@@ -808,7 +808,7 @@ Glacier2::SessionFactoryHelper::SessionFactoryHelper(const SessionCallbackPtr& c
Glacier2::SessionFactoryHelper::SessionFactoryHelper(const Ice::InitializationData& initData,
const SessionCallbackPtr& callback) :
- _routerHost("127.0.0.1"),
+ _routerHost("localhost"),
_secure(true),
_port(0),
_timeout(10000),
@@ -825,7 +825,7 @@ Glacier2::SessionFactoryHelper::SessionFactoryHelper(const Ice::InitializationDa
}
Glacier2::SessionFactoryHelper::SessionFactoryHelper(const Ice::PropertiesPtr& properties, const SessionCallbackPtr& callback) :
- _routerHost("127.0.0.1"),
+ _routerHost("localhost"),
_secure(true),
_port(0),
_timeout(10000),
diff --git a/cpp/src/IceGrid/NodeCache.cpp b/cpp/src/IceGrid/NodeCache.cpp
index 10f51510da8..7c61652388a 100644
--- a/cpp/src/IceGrid/NodeCache.cpp
+++ b/cpp/src/IceGrid/NodeCache.cpp
@@ -932,7 +932,7 @@ NodeEntry::getInternalServerDescriptor(const ServerInfo& info) const
}
else
{
- props.push_back(createProperty("Ice.Admin.Endpoints", "tcp -h 127.0.0.1"));
+ props.push_back(createProperty("Ice.Admin.Endpoints", "tcp -h localhost"));
server->processRegistered = true;
}
}