From 2dde2cbb6f3d4d5825aea46c6a7c19121861b763 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Tue, 7 Jan 2014 15:57:18 -0800 Subject: [PATCH] fix(README): use 4002 not 4001 The default port is 4001 not 4002. Fix this. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 46e224f25..0e67f34e9 100644 --- a/README.md +++ b/README.md @@ -68,8 +68,8 @@ This will bring up etcd listening on port 4001 for client communication and on p Next lets set a single key and then retrieve it: ``` -curl -L http://127.0.0.1:4002/v2/keys/mykey -XPUT -d value="this is awesome" -curl -L http://127.0.0.1:4002/v2/keys/mykey +curl -L http://127.0.0.1:4001/v2/keys/mykey -XPUT -d value="this is awesome" +curl -L http://127.0.0.1:4001/v2/keys/mykey ``` You have successfully started an etcd on a single machine and written a key to the store. Now it time to dig into the full etcd API and other guides.