Cryptocurrency Ethereum Mastering Development

MetaMask custom RPC connection error with private ganache-cli, EC2

Currently I am trying to build private dapp using ganache-cli as a blockchain backend with aws ec2 instance. I get the expected result from terminal. request: curl -X POST –data ‘{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":67}’ localhost:8545 response: {"id":67,"jsonrpc":"2.0","result":"EthereumJS TestRPC/v2.10.2/ethereum-js"} However, I get following error when I set up MetaMask’s custom rpc like: {MY_PUBLIC_IP}:8545 even though my ganache docker (and […]