Last active
May 31, 2016 11:04
-
-
Save tralamazza/1257a054171da9a95a97292ce1e70409 to your computer and use it in GitHub Desktop.
opening low ports
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo setcap CAP_NET_BIND_SERVICE=+eip <path to your binary> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
use "beam" for any elixir/erlang app:
setcap CAP_NET_BIND_SERVICE=+eip `find /opt/myapp/ -name beam -exec realpath {} \;`