I started Ethereum Blockchain using this command:
geth --datadir ./myDataDir --networkid 1114geth --datadir ./myDataDir --networkid 1114
and then from a different terminal, I am trying to connect to this using the following command:
geth attach http://127.0.0.1:8543
But I am not able to attach geth. I am getting the following error:
Fatal: Failed to start the JavaScript console: api modules: Post http://127.0.0.1:8543: dial tcp 127.0.0.1:8543: connect: connection refused