How do I connect to the local node run by Mist/Ethereum Wallet 0.9.0 from Web3 JavaScript app API?

I see in official site that it suggests using

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

However this call fails because there is nothing running on that port.

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.