If you try to ping an erlang node, but get pang .
Check the cookie with erlang:get_cookie() it will be some random string that set the cookie of another node with erlang:set_cookie(Node, Cookie) or you can pass the cookie to the -setcookie flag
eg:
( foo@earth ) erlang:get_cookie(). ASYRQKVNIFHWIIJQZIYN ( foo@earth ) erlang:set_cookie(node(), 'secret cookie'). true net:ping(' mongooseim@localhost '). pong
Check documents
Maqbool
source share