When you have a running Hazelcast instance, you will see its address and port in the console. You should add that information to the network config, as shown below,
config := hazelcast.NewConfig()
config.NetworkConfig().AddAddress("192.168.1.9:5701") // change this with your address
The address given above is an example. Don't forget to change it to your server's address.