devenv icon indicating copy to clipboard operation
devenv copied to clipboard

Services using port below 1024 need to request permissions

Open domenkozar opened this issue 2 years ago • 1 comments

On macOS it's automatic, but on linux we need the user to run one of the two:

- sudo sysctl -w net.ipv4.ip_unprivileged_port_start=0
- sudo setcap CAP_NET_BIND_SERVICE=+eip <binary>

domenkozar avatar Aug 10 '23 12:08 domenkozar

The command sudo sysctl -w net.ipv4.ip_unprivileged_port_start=0 works but caddy asks for the password when trying to run the unprivileged port. (which is a bit odd because "honcho" does not ask for it.

kerwanp avatar Jan 10 '24 14:01 kerwanp