Skip to content

Instantly share code, notes, and snippets.

@wavezhang
Created September 24, 2016 01:54
Show Gist options
  • Save wavezhang/c966242bb6c68ebd616407ab30b9cc28 to your computer and use it in GitHub Desktop.
Save wavezhang/c966242bb6c68ebd616407ab30b9cc28 to your computer and use it in GitHub Desktop.
let non root user listen on port below 1024
setcap 'cap_net_bind_service=+ep' /usr/lib/jvm/jre/bin/java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment