Hello everyone,
I am trying to connect multiple nodes, on multiple machines (2 per machines). Nodes are phoenix release
I set the node parameters with RELEASE_NAME, RELEASE_COOKIE
I checked firewall, opened tcp port for 443 + epmd port, DNS resolution.
It seems I cannot connect using RELEASE_NAME and short name, and cannot pass full name w/ RELEASE_NAME. I tried RELEASE_NODE as well…
I am testing with Node.ping. I can ping nodes on the same machine, but cannot ping other machine’s nodes.
It should be equivalent to starting with…
MIX_ENV=prod iex --name n1@domain.ext --setcookie thecookie -S mix phx.server
… but with a release
My questions are…
-
What is the difference between RELEASE_NAME and RELEASE_NODE?
-
How do You pass the full name, not the short name, when starting the release?
Thanks for taking time