I am trying to run Apache Tomcat on port 443 using a non-root user.
Since port 443 is a privileged port, I attempted to grant the necessary permissions to the Java binary using the following command: sudo setcap 'cap_net_bind_service=+ep' /usr/lib/jvm/jdk-21.0.5/bin/java
However, even after applying this capability, Tomcat still throws a permission/binding error when started by the non-root user .
-