I am running on quorum and using web3.js. When I run web3.isConnected(), it is returning "false"

var web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:22000"));

Something I missed out?

Nathan Aw

  • how are you running quorum ? one node ? network ? how did you create the network ? what concensus type you are running on ? – Kaki Master Of Time Apr 18 '18 at 16:44
  • 7nodes example with raft consensus – Nathan Aw Apr 18 '18 at 23:55
  • i tried that too, it didn't work for me. maybe you need to restart the 7nodes. or check wether the exposed port is the correct one you are using. it could be a problem with web3 too( but that is low probability ) – Kaki Master Of Time Apr 19 '18 at 7:47

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.