Forráskód Böngészése

Merge pull request #451 from philips/use-the-right-port

fix(README): use 4002 not 4001
Brandon Philips 12 éve
szülő
commit
4e8828c5c4
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      README.md

+ 2 - 2
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.