[Elixir] Communication between two elixir nodes

Hello everyone,
Is it possible deploy two web services as different nodes with libcluster,
and configure it for communications?

Example how it configured for locally:

strategy: Cluster.Strategy.Epmd,
config: [
  hosts: [
    :"ui@127.0.0.1",
    :"worker@127.0.0.1"
  ]
]

I’m tried use example from docs “Deploy a Distributed Elixir Cluster”
but I couldn’t figure out how to make them see each other.

127.0.0.1 won’t be used because they aren’t on the same system, 127.0.0.1 always refers to the local system it is being used on.

See Private Network – Render Docs

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.