summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/Client.cpp')
-rw-r--r--cpp/src/IceGrid/Client.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/Client.cpp b/cpp/src/IceGrid/Client.cpp
index 555e0ee7e4a..5976483b593 100644
--- a/cpp/src/IceGrid/Client.cpp
+++ b/cpp/src/IceGrid/Client.cpp
@@ -93,8 +93,7 @@ main(int argc, char* argv[])
{
IceUtil::CtrlCHandler ctrlCHandler;
auto defaultProps = Ice::createProperties();
- defaultProps->setProperty("IceGridAdmin.Server.Endpoints", "tcp -h 127.0.0.1");
- defaultProps->setProperty("IceGridAdmin.Server.ServerName", "127.0.0.1");
+ defaultProps->setProperty("IceGridAdmin.Server.Endpoints", "tcp -h localhost");
Ice::InitializationData id;
id.properties = createProperties(args, defaultProps);
id.properties->setProperty("Ice.Warn.Endpoints", "0");