ssh console and checking app says it's down but it's not

In my machine, finally

app/bin/my_app remote

working as it shouold!

The key is to make env.sh.eex like below

#!/bin/sh

ip=$(grep fly-local-6pn /etc/hosts | cut -f 1)
export RELEASE_DISTRIBUTION=name
export RELEASE_NODE=$FLY_APP_NAME@$ip
#export ELIXIR_ERL_OPTIONS="-proto_dist inet6_tcp" <- commented out

Is this dangerous decision?

1 Like