Tutorial by Examples

Start two named nodes in two terminal windows: >iex --name [email protected] iex([email protected])> >iex --name [email protected] iex([email protected])> Connect two nodes by instructing one node to connect: iex([email protected])> Node.connect :"[email protected]" true The two n...
Start a named process on one IP address: $ iex --name [email protected] --cookie chocolate iex([email protected])> Node.ping :"[email protected]" :pong iex([email protected])> Node.list [:"[email protected]"] Start another named process on a different IP address: $ iex ...

Page 1 of 1