These are chat archives for ethereum/tutorials

May 2016
Leonel Castañeda
May 17 2016 16:05

Hello :)!, I'm following this tutorial: and i have troubles :(, I'm working remotely with a centos distro and running geth with the next command: geth --identity "genesisNode" --genesis customGenesis.json --rpc --rpcport "11235" --rpccorsdomain "*" --datadir "./data" --port "11236" --nodiscover --ipcapi "admin,db,eth,debug,miner,net,shh,txpool,personal,web3" --rpcapi "db,eth,net,web3" --autodag --networkid 1123 5 --nat "any"

My init.js:
if(typeof web3 === 'undefined')
web3 = new Web3(new Web3.providers.HttpProvider(''));

But when i visit the page (in my physical computer) and try to check the accounts with 'web3.eth.accounts' i have the next error:
Uncaught Error: CONNECTION ERROR: Couldn't connect to node
at Object.module.exports.InvalidConnection (
at HttpProvider.send (
at RequestManager.send (
at Eth.get [as accounts] (
at <anonymous>:1:9
at Object.InjectedScript._evaluateOn (<anonymous>:145:167)
at Object.InjectedScript._evaluateAndWrap (<anonymous>:137:25)
at Object.InjectedScript.evaluate (<anonymous>:118:14)

Can someone help me XD?!, thnks :D !