--rpccorsdomain "*"
(or
--rpccorsdomain "5.101.139.166")?To accept cross origin requests, this rpccorsdomain option should be set when you launch geth from console.
I have started Sync of ETH node to my VPS. I want to call RPC Call to get balance details of addresses. What i have done is as below:
1) Install geth started geth service
2) geth --fast --rpc
After few hours i have stopped geth sync and add some peers using admin.addPeers() method
Again start geth sync using below command on specific port
geth --syncmode light console --rpc --rpcport 3000
after this i have fired admin.peers it shows empty Array so i have add some peers and then check using admin.peers below is the image of admin.peers
Now i am still not able to call RPC Call on my IP 5.101.139.166:3000
I am getting error
Error: Couldn't connect to server
Here are some additional things that may help.
Documentation Contact Support
Loading...
Cancel Request
Unknown Response Code0.000 milliseconds
Read
Current Status of Node sync is as below
Error while calling RPC Call
·OTHER ANSWER:
I have started Sync of ETH node to my VPS. I want to call RPC Call to get balance details of addresses. What i have done is as below:
1) Install geth started geth service
2) geth --fast --rpc
After few hours i have stopped geth sync and add some peers using admin.addPeers() method
Again start geth sync using below command on specific port
geth --syncmode light console --rpc --rpcport 3000
after this i have fired admin.peers it shows empty Array so i have add some peers and then check using admin.peers below is the image of admin.peers
Now i am still not able to call RPC Call on my IP 5.101.139.166:3000
I am getting error
Error: Couldn't connect to server
Here are some additional things that may help.
Documentation Contact Support
Loading...
Cancel Request
Unknown Response Code0.000 milliseconds
Read
Current Status of Node sync is as below
Error while calling RPC Call