When epmd is restarted how to do autodiscovery of running erlang nodes

Let’s say I have two ubuntu users. Each user has an Erlang node running. When the first node is booted, it also boots the epmd service. When the second node is booted, already running epmd adds the second node to the epmd list.

Let’s say I restart the epmd service. Suddenly the list of epmd running nodes is empty. How can I rediscover running nodes without restarting each node individually?

Mmmmm I tried this on my Mac and epmd auto-discovered the running nodes.

I suggest starting a 3rd distributed node, which would start epmd and hopefully it would rediscover the other running nodes.

1 Like