[erlang-questions] Setting node name from the shell started withou -name or -sname

t ty tty.erlang@REDACTED
Wed Apr 23 19:26:00 CEST 2008


See

net_kernel:start/1

t

On Wed, Apr 23, 2008 at 1:14 PM, Zvi <exta7@REDACTED> wrote:
>
>  It's possible to set cookie name programmatically, using erlang:set_cookie/2,
>  even if BEAM started without -setcookie flag or .erlang.cookie file.
>  How to set a node name for BEAM started without -name or -sname flags?
>  There is undocumented erlang:setnode/2 BIF, I guess that it's:
>   setnode(NodeName::node(),PortNumber::int())
>  but still have no idea how to use it.
>
>  TIA,
>  Zvi
>
>  --
>  View this message in context: http://www.nabble.com/Setting-node-name-from-the-shell-started-withou--name-or--sname-tp16834718p16834718.html
>  Sent from the Erlang Questions mailing list archive at Nabble.com.
>
>  _______________________________________________
>  erlang-questions mailing list
>  erlang-questions@REDACTED
>  http://www.erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list