tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier (tomcat) ...@ice-sa.com>
Subject Re: Running as user tomcat
Date Fri, 23 Feb 2018 22:32:13 GMT
On 23.02.2018 18:52, Peter@Kreuser-Online wrote:
> Hi Chris,
>
>
>
>> Am 23.02.2018 um 18:36 schrieb Cheltenham, Chris <ccheltenham-ext@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

>
>> 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message