diff --git a/silkaj/network_tools.py b/silkaj/network_tools.py
index 1af4671b878f630b953789fc1ef0041ee420b802..c715faa6e2e88bb4c942b5b0ebf5da0e12f35e26 100644
--- a/silkaj/network_tools.py
+++ b/silkaj/network_tools.py
@@ -80,6 +80,8 @@ class EndPoint(object):
             ep["domain"], ep["port"] = cli_args.get_definition('p').rsplit(':', 1)
         else:
             ep["domain"], ep["port"] = G1_TEST_DEFAULT_ENDPOINT if cli_args.contains_switches("gtest") else G1_DEFAULT_ENDPOINT
+        if ep["domain"].startswith('[') and ep["domain"].endswith(']'):
+            ep["domain"] = ep["domain"][1:-1]
         self.ep = ep