the app server must have been started with elixir --sname appname --cookie mycookie -S mix phoenix.server
connect to the server via ssh
- start an
iex
Session with (important: cookies must match but can be freely chosen, names can be freely chosen too):iex --sname foo --cookie mycookie
foo@host> node = :"appname@host"
# appnames must match