openethereum / parity-ethereum

The fast, light, and robust client for Ethereum-like networks.
Other
6.83k stars 1.69k forks source link

Error: Invalid JSON RPC response: "" #11672

Closed justintim-es closed 4 years ago

justintim-es commented 4 years ago

I downloaded

openethereum-v3.0.0-alpha.1-ubuntu-16.04.zip

unzipped the file,

chmod u+x openethereum

into a command and finally

./openethereum --jsonrpc-interface "ip" --jsonrpc-hosts "all" --jsonrpc-
cors  "all" --jsonrpc-apis "all"

when calling

web3.eth.getAccounts().then(console.log)

I get the following error

Error: Invalid JSON RPC response: ""