On 23.02.2018 23:32, André Warnier (tomcat) wrote:
On 23.02.2018 18:52, Peter@Kreuser-Online wrote:
Hi Chris,



Am 23.02.2018 um 18:36 schrieb Cheltenham, Chris <ccheltenham-...@philasd.org>:

Hello All,

I am trying to run tomcat as a non root user.

It will start as the tomcat user but it will not bind to connector 443 unless 
it starts
as root.

Does anyone know why?

Unix will not let you open ports below 1024 as non-root user!

You may use a proxy in front of it or maybe use iptables to be able to use 
standard
ports AND user tomcat.

See also : https://commons.apache.org/proper/commons-daemon/jsvc.html

Or if you are running under Linux, check : 
https://en.wikipedia.org/wiki/Authbind




23-Feb-2018 09:14:59.140 SEVERE [main]
org.apache.catalina.core.StandardService.initInternal Failed to initialize 
connector
[Connector[HTTP/1.1-443]]
org.apache.catalina.LifecycleException: Failed to initialize component
[Connector[HTTP/1.1-443]]

I’m using java 9.0.4 and Tomcat 8.5.28


===========================

Thank You;

Chris Cheltenham
Technology Services
The School District of Philadelphia

Work # 215-400-5025
Cell # 215-301-6571

Best regards

Peter



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to