Basically I would like to know how to configure geth so that it can only connect to my private ethereum blockchain that is hosted on another machine?
Many thanks in advance!
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community
geth can only connect to one blockchain. Unless you pass a different port and a different path for the data directory.
to connect to your private blockchain just get the enodes addresses and the machine external ip (ports should be opened) and pass it in geth
geth --datadir ~\.space --networkid 1337 --bootnodes=enode://42aa0f3f526ed619032e0c1b3526e15b20df4dc0229f9a6f991e6f31d86561dfb2d5d14d36dcaa29867a31709ab0d7e0fc868eb6d7dde344116318386aeb87d5@YOUR_EXTERNAL_IP:30304 --rpc --rpcapi admin,db,eth,net,web3,personal,txpool --shh --ws --rpcaddr localhost --rpcport 8545 --rpccorsdomain "*"