Ethereum Tutorials - Herong's Tutorial Examples - v1.05, by Herong Yang
Connect MetaMask to Local "geth" Node
This section describes how to connect MetaMask to the 'geth' on the local host.
The MetaMask wallet can also be connected to the local Ethereum private network.
Here is what I did to connect MetaMask extension on Chrome to my Ethereum private network running by the "geth" node.
1. Run the "geth" node on my private network:
C:\> \herong\bin\geth --datadir \herong\Ethereum\personal console 2>> geth-personal.log > eth.blockNumber
2. Turn on the RPC listener:
> admin.startRPC() true > admin.startRPC() Error: HTTP RPC already running on localhost:8545
3. Start MetaMask on Chrome and select "Localhost 8545" from the network selection dropdown.
4. Wait few seconds, MetaMask will be connected to the "geth" node through http://localhost:8545.
Table of Contents