From 0815a25edfb58c9679c47211685b2b5e87f26936 Mon Sep 17 00:00:00 2001 From: Jualy Date: Sun, 21 Jul 2019 17:51:12 +0800 Subject: [PATCH] Add command example for rpc port 9933 (#333) Connect rpc port 9933 failed if polkadot startup without --rpc-external --- polkadot/doc/docker.adoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/polkadot/doc/docker.adoc b/polkadot/doc/docker.adoc index cefea287ec..2ca2944190 100644 --- a/polkadot/doc/docker.adoc +++ b/polkadot/doc/docker.adoc @@ -23,6 +23,10 @@ Additionally if you want to have custom node name you can add the `--name "YourN [source, shell] docker run -d -p 30333:30333 -p 9933:9933 -v /my/local/folder:/data chevdor/polkadot:0.3.14 polkadot --chain alex --name "PolkaDocker" +docker run -d -p 30333:30333 -p 9933:9933 -v /my/local/folder:/data chevdor/polkadot:0.3.14 polkadot --rpc-external --chain alex + +if you want to connect to rpc port 9933, then must add polkadot startup parameter: --rpc-external. + **Note:** The `--chain alex` argument is important and you need to add it to the command line. If you are running older node versions (pre 0.3) you don't need it. === Limiting Resources