Created
October 14, 2019 05:53
-
-
Save elcritch/254d9d9794a484a6db718666c8eda640 to your computer and use it in GitHub Desktop.
Establish an IEx shell to another node in a Elixir Node (Erlang Node)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iex(node-a@192.168.1.2)1> Node.list() | |
[:"node-b@192.168.1.3"] | |
iex(node-a@192.168.1.2)1> :rpc.call :"node-b@192.168.1.3", IEx, :start, [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Connect to first server node:
:rpc.call Enum.at(Node.list,0), IEx, :start, []