[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 <fjl@twurst.com>
This commit is contained in:
Nicholas Brown 2020-04-28 03:10:22 -05:00 committed by GitHub
parent bbeb209570
commit 7f2e84c811
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -78,6 +78,12 @@ terminal and using the following command to open a JavaScript console:
geth attach 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 In the console you can issue any of the Geth commands, for example, to list all the
accounts on the node, use: accounts on the node, use: