etcd.Client() will make connection to port 4001 by default. etcds default port is 2379 though. You should make 2379 the clients default port.