Ethereum Tutorials - Herong's Tutorial Notes - Version 1.01, by Dr. 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:\>\local\bin\geth --datadir \herong\Ethereum\personal console 2>> geth-personal.log > eth.blockNumber
2. Turn on the RPC listner:
> 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.
Last update: 2018.
Table of Contents