I am on a remote machine, it has a running Erlang VM node on it. I'm trying to connect to Erlang VM node via iex
but get an error back:
$ iex --name [email protected] --remsh [email protected] --setcookie NMFJGSU0FwvGKlrqMuGfY1I6LtgSz1Rn2PLiDnqMS54
Erlang/OTP 18 [erts-7.3.1] [source] [64-bit] [async-threads:10] [kernel-poll:false]
Could not contact remote node [email protected], reason: :nodedown. Aborting...
$
epmd -names
reports the Erlang VM node is running:
$ epmd -names
epmd: up and running on port 4369 with data:
name myapp at port 45671
$
Here's the contents of vm.args
of a deployed app:
-name [email protected]
-setcookie NMFJGSU0FwvGKlrqMuGfY1I6LtgSz1Rn2PLiDnqMS54=
-smp auto
Question: what am I doing wrong?