Skip to content

Instantly share code, notes, and snippets.

@tralamazza
Last active May 31, 2016 11:04
Show Gist options
  • Save tralamazza/1257a054171da9a95a97292ce1e70409 to your computer and use it in GitHub Desktop.
Save tralamazza/1257a054171da9a95a97292ce1e70409 to your computer and use it in GitHub Desktop.
opening low ports
sudo setcap CAP_NET_BIND_SERVICE=+eip <path to your binary>
@tralamazza
Copy link
Author

tralamazza commented May 30, 2016

use "beam" for any elixir/erlang app:

setcap CAP_NET_BIND_SERVICE=+eip `find /opt/myapp/ -name beam -exec realpath {} \;`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment