Happy New Year to everyone!
So I have an EC2 machine (with IP address 44.212.96.143) where I started a private block chain. I ran geth there using the command below:
geth --networkid 14333
--datadir ./data --bootnodes enode://<enodeid>@44.212.232.178:0?discport=30303 --port 30305
--ipcdisable --syncmode 'full' --http --allow-insecure-unlock --http.corsdomain "*"
--http.port 8546 --authrpc.port 8547 --unlock '<account_id>' --password password.txt --mine console
Please that in above command 44.212.232.178 is the IP of my blockchain bootnode.
Now I am trying to connect my MetaMask to this private network. In MetaMask I entered the following details:
Network name: MyNetwork
New RPC URL: http://44.212.96.143:8547
Chain ID: 14333
However it tells me Could not fetch chain ID. Is your RPC URL correct?
Things I have tried:
I ensured that the security group policy of AWS allows all ports incoming and outgoing.
I replaced 8547 with all other possible port numbers I had in the geth command - 8546, 30303, 30305 but nothing worked.
I tried the solutions mentioned in this post and also in this post
Also, I did not see the "Custom RPC" option in MetaMask, so I am using the option "Networks > Add a network > Add a network manually
"
I am unsure of what else to try. If anyone can give me some guidance or tips I would appreciate it so very much!