Last active
May 17, 2022 01:18
-
-
Save dapize/01d4f1301dd8a74a94afa57b5ecdd4e8 to your computer and use it in GitHub Desktop.
Error: listen EACCES: permission denied 0.0.0.0:80
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
| # just we need install the 'libcap2-bin' software and set some commands: | |
| sudo apt-get install libcap2-bin | |
| sudo setcap cap_net_bind_service=+ep /usr/local/bin/node | |
| # by the way if the route of the node bin file is other we can search the correct route with the next command: | |
| which node | |
| # and that's it my friends, very easy and simple :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment