No matter what I try, I can't get two different nodes to communicate. This is probably a very simple problem to solve.
I have created the file .cookie.erlang and I've placed it into my home directory. Then I open a terminal window and type the following commands:
erl -sname user1@pc
erlang:set_cookie(node(),cookie).
In another terminal window I type:
erl -sname user2@pc
erlang:set_cookie(node(),cookie).
Now if I type the following command in the first terminal window:
net_adm:ping(user2@pc).
I always get "false" as result, meaning that the two nodes were not able to connect to each other. I don't understand what I am missing here...