hez
June 6, 2022, 5:09am
1
I have a production app which I can connect to via iex
> iex --name <app-name>@<private-ip> --cookie <cookie>
But when I try and connect using the same credentials via Livebook started via: ERL_AFLAGS="-proto_dist inet6_tcp" livebook server --name livebook@127.0.0.1
running locally I get
Node :"<app-name>@<private-ip>" is unreachable
hez
June 6, 2022, 5:16am
2
Well drat! I had missed this important part about naming the node!
1 Like
I had the same problem. It seems worth adding to the original guide.
1 Like
swhw
January 14, 2024, 4:46am
4
Hopefully y’all remember but do you recall what convention the node name has to follow at all?
Read over the linked docs but neither seem to mention anything about node names anymore and maybe have been updated since this thread…
hez
January 15, 2024, 7:02pm
5
I believe this is what you are looking for? Clustering Your Application · Fly Docs
hez
September 12, 2024, 9:52pm
6
Turns out the node names now include the release ref, the now look like export RELEASE_NODE="${FLY_APP_NAME}-${FLY_IMAGE_REF##*-}@${FLY_PRIVATE_IP}"
The easiest way I’ve found to get this is ssh in to the machine, bin/your_app romote
, and Node.self
Good luck
PS Fly.io it might be time to update your docs