From 74611c9c1275b800e776ad95673f6bbbd56ef4fe Mon Sep 17 00:00:00 2001 From: Xia Date: Wed, 13 Mar 2019 21:46:14 -0500 Subject: [PATCH] hardcode server addr --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 4fc8a8b..2f9b302 100644 --- a/client.go +++ b/client.go @@ -237,7 +237,7 @@ func connectToIntroduction(node *Node, gossipPort string) (conn net.Conn) { // node.Members = append(node.Members, localIP+" "+gossipPort) node.MembersSet.SetAdd(localIP + " " + gossipPort) // Connect to Introduction Service - serverAddr, _ := os.Hostname() + serverAddr := "172.22.158.32" conn, err := net.Dial("tcp", serverAddr+":8888") if err != nil { fmt.Println("Error dialing:", err.Error())