I have a full sync node running on an aws server, I am able to connect and interact with the node at 8545 locally.

But I am not able to connect to it from remote computer. The code as follow.

from web3 import Web3
bsc = "***.**.***.**:8545" #server public ip address
web3 = Web3(Web3.HTTPProvider(bsc))
print(f'is connected to the web3: {web3.isConnected()}')


is connected to the web3: False

My security settings as follow, any idea what shall I do to connect from remotely as a RPC endpoint?

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.