I need to connect geth rpc using https://60.248.172.3
in web3.js because my website is running in secure mode(https://example.com)
I tried this and got error:
geth --rpc --rpcaddr "https://60.248.172.3"
Fatal: Error starting protocol stack: listen tcp: address https://60.248.172.3:8545: too many colons in address
How can I add https:// in start of my ip(60.248.172.3) using --rpcaddr?
The main issue is chrome browser can't allow web3.js to send ajax post request to http://60.248.172.3:8545 when my site is opened with https://example.com(https)