Exploring Elixir E7: Automatic Clustering

Amazing screencast! However I cloned the repo and can’t get it to work on development machine.
Starting libcluster on first node isn’t an issue, the heartbeat starts to appear, but when I try to run it on a second node it raises an error:

{:failed_to_start_child, Cluster.Strategy.Gossip, {{:badmatch, {:error, :eaddrinuse}}, [...] ...}

Seems there is some process already running in the required address/port and libcluster can’t start.

1 Like