Categories
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 […]

Categories
Cryptocurrency Ethereum Mastering Development

I cant connetc geth in docker container from other container using docker name

I have docker-composer setup: Php and Geth. I can ping from php docker container to geth cont. but I cant get response from it. If I hard code ip address of this geth container, I get response if I use “non-container” but inside php container no response. root@vps:/root/docker# docker exec 908 ping **ether** PING ether […]