Friday 23 December 2016

Ethereum: To start and attach a geth server


Start the geth server with the following command

geth --identity "nodeA" --rpc --rpcaddr "0.0.0.0" --rpcport "8000" --rpccorsdomain "*" --datadir "/home/bcdata" --port "30303" --ipcapi "admin,db,eth,debug,miner,net,shh,txpool,personal,web3" --rpcapi "db,eth,net,web3" --autodag --networkid 1900 --nat "any" console  


Then open another terminal and connect it to the running geth server via http protocol 

geth attach http://0.0.0.0:8000



No comments:

Post a Comment