I am using Ubuntu 9 and I start two nodes with:
erl -name node1 -setcookie demo
and
erl -name node2 -setcookie demo
yet when I run “nodes()” the nodes do not see each other and it returns an empty list. Anyone know why?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Because they are not connected unless they communicate with each other, e.g. by one pinging the other:
(node1@<host>)> net_adm:ping(node2@<host>).Note that if you checked the nodes with
net_adm:names(), they would have been visible via epmd.