[erlang-questions] Disable Distribution

Feiko Nanninga fnanninga@REDACTED
Thu Apr 14 18:00:55 CEST 2016


I'd like to deploy a non-distributed application with a sane
security configuration (preferably using a relx release).

How can I entirely disable other nodes from connecting? Is there an
option to pass to erl (to add in vm.args)?. It seems using a release
requires me give the node a name and set a cookie. Now I can hope nobody
guesses the cookie or I can keep other users on the same system from
reading files which contain the cookie; but this is not a clean solution.

Would not setting -sname or -name achieve this goal?

Best regards,

PS: If you don't provide vm.args yourself, relx generates one for you
with a predictable cookie. This is a BAD default.

More information about the erlang-questions mailing list