In truffle, a dapp is deployed using the port of running geth node (in testnet). Then how will another machine node will communicate to that dapp because it is impossible to run a node on same port with different machine?
1 Answer
When you deploy an app with Truffle, you are actually deploying a contract and the font end is a simple html/css website which can interact with the contract instance.
Technically, you are not touching the actual ethereum node, it is running somewhere else and any other app can communicate with the geth instance with no issues.
-
Thanks, you mean we need to have similar dapp at both the end? And also tell me that the communicating nodes should be peers or not?– BlockACommented May 10, 2016 at 6:57
-
-
Another dapp can communicate to the same contract you deployed right?– niksmacCommented May 11, 2016 at 6:48
-
it means @niksmac the communicating node will not have any own contract. It will be just communicating with the contract deployed by first node?– BlockACommented May 11, 2016 at 7:23
-
1not necessarily, nodes are peers when they are connected in between, no relation to DApp.– niksmacCommented May 12, 2016 at 8:12