I have deployed an Ethereum node on my VPS server. I am starting node sync using:

geth --syncmode light console --rpc --rpcport 8545 --rpccorsdomain "*" --rpcaddr --rpcapi db,eth,net,web3,personal

But after few hours it stops automatically. How can I solve this problem? Please can you shade some light on this?

  • Does it log any errors when it closes? – Henk Jun 25 '18 at 9:47
  • Logs is something that can help to debug. – Prashant Prabhakar Singh Jun 25 '18 at 13:03
  • @Henk No..There was no any error and stops automatically after 3 to 5 hours. – Hardik Dhankecha Jun 26 '18 at 10:51

There is a chance that your problem is related to which ports are open. Be sure to open port 30303 (or your discovery port) so that other nodes can find you and so that you have as many peers as possible.

Your Answer

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

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