I’ve tried to use setcap to allow a node app (run as regular user) to bind ports below 1025. But this does not see to work, the app still complains it can’t do that (bind ports 1025 and higher fine).

I’ve tried:

setcap 'CAP_NET_BIND_SERVICE=+ep' /usr/bin/node

Any ideas howto make it work?

ok, I’ve just noticed node is just a link… So correct command in my setup is:

setcap 'CAP_NET_BIND_SERVICE=+ep' /usr/bin/node20