I am trying to set up a dev website accessible from remote. Thus I have install my application in AWS where I run a hardhat. However I can not connect metamask to that instance. I keep on having an error that it could not fetch RPC enter image description here

can someone helps me ? Thanks

1 Answer 1


Hardhat default chain id is 31337, did you try to use that as chainId?

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.