Skip to content

Problem allowing NodeJS to listen to ports below 1024 #4162

Answered by Sparkblender
Sparkblender asked this question in Q&A
Discussion options

You must be logged in to vote

I found the answer to my question:
Running which node provides the path I need to specify for the setcap command, which in my case looks something like this:
/home/user/.nvm/versions/node/v16.15.1/bin/node
So I used this path instead of the one suggested in the manual (/usr/bin/node)
Cheers.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Sparkblender
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant