I have installed testrpc in AWS and also started it with testrpc -h 'my address'. In remix ide when I choose web3 provider and set url to myaddress:8545 it shows 'Not possible to connect to the Web3 provider. Make sure the provider is running and a connection is open (via IPC or RPC).' I make sure it is running on AWS. This is purely for demo purpose, also I need some public address along with some ethers. What things should I consider to make sure web3 provider is from my AWS server. Thank you very much.

1 Answer 1


Make sure the port 8545 is open on your AWS instance for public connections.

And also include, --rpcaddr "" to allow for external connections

  • Are we required to have --rpcaddr "" when running geth?
    – alper
    Commented Sep 26, 2018 at 11:50
  • 1
    It really depends on what you're doing. For this question, that would seem to be an appropriate thing to do. For development on a VPS, it's something I generally do as well. But in a production environment you'd want to limit it to localhost. Your comment greatly improves the answer so I'll probably include it.
    – Kevin
    Commented Sep 27, 2018 at 16:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.