I'm trying to run a Node on a private blockchain using the following command:
geth --datadir data/privateBlockchain/ -networkid 1234567 -port 30306 -nodiscover -rpc -rpcapi “db,personal,eth,net,web3,debug” -rpccorsdomain ”*” --rpcaddr ”localhost” -rpcport 8545
I got it from this tutorial:
but when I ran it the following message is shown on the screen:
Fatal: Error starting protocol stack: listen tcp: lookup ”localhost”: no such host
I've also tried with 127.0.0.1 instead of localhost.
What can I do to fix this problem?