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