From 7f2e84c8112346d32c7a5419bcf67089331bb4c0 Mon Sep 17 00:00:00 2001 From: Nicholas Brown Date: Tue, 28 Apr 2020 03:10:22 -0500 Subject: [PATCH] [DOCS] add note about HTTP attach in getting started guide (#20991) Adding an alternative command since some people are unable to connect with 'geth attach' command by itself. Co-authored-by: Felix Lange --- docs/_getting-started/index.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/_getting-started/index.md b/docs/_getting-started/index.md index 1eec435423..9def1587e7 100644 --- a/docs/_getting-started/index.md +++ b/docs/_getting-started/index.md @@ -78,6 +78,12 @@ terminal and using the following command to open a JavaScript console: geth attach ``` +If you get the error 'unable to attach to remote geth', try connecting via HTTP as shown below: + +```shell +geth attach http://127.0.0.1:8545 +``` + In the console you can issue any of the Geth commands, for example, to list all the accounts on the node, use: