I have created private ethreum blockchain,It is hosted in LAN network and connected with 3 nodes, i am using one main Node IP (e.g to connect my application(created using web3.js truffle) with blockchain but if that main Node is get down then how to connect with Other node using application??

  • simply, get the ip address of another node as you got the ip of main node. then you can interact with that chain. – Gopal ojha Apr 11 '18 at 10:37
  • yes, but it is not possible to check which Node is working and change IP accordingly every-time in application's config – Smit Thakur Apr 11 '18 at 10:48
  • use if else case for, if connected is true for one ip then use it otherwise go to next ip address. it works fine unless down all nodes. – Gopal ojha Apr 11 '18 at 11:49

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.