mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
docs: add --authrpc.port
flag to instructions to run multiple instances on the same host (#4994)
* Multiple instances: add `--authrpc.port` flag Fix #4993. * Fix instructions for running multiple instance in one machine * Refactor: reorganize the order of the flags
This commit is contained in:
parent
d643da3db8
commit
f868bf6678
@ -196,15 +196,15 @@ where `<erigon address>` is either `localhost` or the IP address of the device r
|
||||
|
||||
### Multiple Instances / One Machine
|
||||
|
||||
Define 5 flags to avoid conflicts: `--datadir --port --http.port --torrent.port --private.api.addr`. Example of multiple chains on the same machine:
|
||||
Define 6 flags to avoid conflicts: `--datadir --port --http.port --authrpc.port --torrent.port --private.api.addr`. Example of multiple chains on the same machine:
|
||||
|
||||
```
|
||||
# mainnet
|
||||
./build/bin/erigon --datadir="<your_mainnet_data_path>" --chain=mainnet --port=30303 --http.port=8545 --torrent.port=42069 --private.api.addr=127.0.0.1:9090 --http --ws --http.api=eth,debug,net,trace,web3,erigon
|
||||
./build/bin/erigon --datadir="<your_mainnet_data_path>" --chain=mainnet --port=30303 --http.port=8545 --authrpc.port=8551 --torrent.port=42069 --private.api.addr=127.0.0.1:9090 --http --ws --http.api=eth,debug,net,trace,web3,erigon
|
||||
|
||||
|
||||
# rinkeby
|
||||
./build/bin/erigon --datadir="<your_rinkeby_data_path>" --chain=rinkeby --port=30304 --http.port=8546 --torrent.port=42068 --private.api.addr=127.0.0.1:9091 --http --ws --http.api=eth,debug,net,trace,web3,erigon
|
||||
./build/bin/erigon --datadir="<your_rinkeby_data_path>" --chain=rinkeby --port=30304 --http.port=8546 --authrpc.port=8552 --torrent.port=42068 --private.api.addr=127.0.0.1:9091 --http --ws --http.api=eth,debug,net,trace,web3,erigon
|
||||
```
|
||||
|
||||
Quote your path if it has spaces.
|
||||
|
Loading…
Reference in New Issue
Block a user