I am running geth on my VM. Everything runs fine on my machine but I am facing issues while connecting it to Web browser
I used this command to launch the nodes but I cannot connect to them through my browser
geth --networkid 8545 --genesis ~/genesis_block.json --datadir ~/.ethereum_sample console
I'm getting this error:
CONNECTION ERROR: Couldn't connect to node http://localhost:8545, is it running?
This is what I use to set the provider in the browser console: