i am trying to connect metamask with private node but its fails to connect
geth --rpc --rpcaddr 127.0.0.1 --rpcport 8545 --rpccorsdomain "*" --rpcapi admin,db,eth,debug,miner,net,ssh,tapool,personal,web3 --datadir NODEDATA --networkid 123456 console
i am trying to connect metamask with private node but its fails to connect
geth --rpc --rpcaddr 127.0.0.1 --rpcport 8545 --rpccorsdomain "*" --rpcapi admin,db,eth,debug,miner,net,ssh,tapool,personal,web3 --datadir NODEDATA --networkid 123456 console
on the same machine use --rpcaddr 127.0.0.1 to start the JSON RCP on the localhost network and only connections from your local machine reach the geth server
on a remote machine use --rpcaddr "0.0.0.0" to allow remote connections.
For both case in metamask indicate the machine ip (for the first case use http://127.0.0.1:8545 for the second case use the machine ip instead 127.0.0.1)