Local Livebook connection to production app

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

Well drat! I had missed this important part about naming the node! :man_facepalming:

1 Like

I had the same problem. It seems worth adding to the original guide.

1 Like

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…

I believe this is what you are looking for? Clustering Your Application · Fly Docs