Skip to content

Instantly share code, notes, and snippets.

@dapize
Last active May 17, 2022 01:18
Show Gist options
  • Select an option

  • Save dapize/01d4f1301dd8a74a94afa57b5ecdd4e8 to your computer and use it in GitHub Desktop.

Select an option

Save dapize/01d4f1301dd8a74a94afa57b5ecdd4e8 to your computer and use it in GitHub Desktop.
Error: listen EACCES: permission denied 0.0.0.0:80
# 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