Erlang nodes can't see each other

后端 未结 3 451
太阳男子
太阳男子 2021-01-05 13:29

I am new to Erlang and trying to set two nodes on my laptop.

In one terminal I type:

eli@elimayost: ~/erlang_apps> erl -sname foo -setcookie secre         


        
3条回答
  •  醉酒成梦
    2021-01-05 13:54

    it's a DNS problem, your host name 'elimayost' can't be found on the DNS. You can use 'localhost' as the host part, which like 'foo@localhost' and 'bar@localhost', it will always work.

提交回复
热议问题