Node name and host name

Vladimir Sekissov svg@REDACTED
Thu Dec 5 01:11:10 CET 2002


Good day,

Do your nodes use the same cookie? If they do then may be
hosts don't know each other by short name. You
can add short name for its IP to your local /etc/hosts(on unix) or
create file `.hosts.erlang' in your home directory and then call
`net_adm:world()' before to make nodes known. Look at detailed
explanation in `net_adm' documentation.

Best Regards,
Vladimir Sekissov

eduardo> I have started erl -sname ef in hostname machine and
eduardo> I've got the prompt <ef@REDACTED>1> .
eduardo> Then, on another machine hostname2 I've executed monitor_node('ef@REDACTED', true). function but it fails.
eduardo> 
eduardo> Does anyone know what is wrong ?
eduardo> What I want to do is to use a node remotely.
eduardo> 
eduardo> 
eduardo> Thanks in advance.
eduardo> Eduardo Figoli
eduardo> 
eduardo> 



More information about the erlang-questions mailing list