Q:

Petshop tutorial of Truffle doesn't work. Confused with ports 7545, 8545,& 0 eth on metamask

I am using testrpc,  metamask and Truffle. I followed Petshop tutorial on Truffle. The Truffle framework had.default. 7545 as local host port in it.. But my system gave 8545 port. The Petshop  app is running, but nothing is proceeding. And metamask is shows 0eth..it should  be 99. I need some help to understand all this

A:

Looks like your metamask is not connected to local host 8545. From the drop down option in metamask select local host 8545 and you should view test accounts and their respective balances.

