Created
January 3, 2018 09:46
-
-
Save Matrixbirds/0e0fd8c2b2d4499d647b10f684240201 to your computer and use it in GitHub Desktop.
run nodejs on 80 port
This file contains hidden or 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 apt-get install libcap2-bin | |
| sudo setcap 'cap_net_bind_service=+ep' $(readlink -f $(which node)) | |
| node ./app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment