Thank you for your reply, André.

Unfortunately, the Tomcat 9 Ubuntu package is only available on Ubuntu 18 and 
19 (at least that I could find). I'm on 16 at the moment (though I did think 
about upgrading) which is why I'm using the binary distribution from 
tomcat.apache.org. 

The good news is I was able to get authbind to work. If anyone is interested in 
the steps I used, please let me know. 

Thanks again,
Ralph



On 7/10/19, 5:29 AM, "André Warnier (tomcat)" <a...@ice-sa.com> wrote:

    Hi.
    Apologies for breaking conventions of this list and top-posting..
    
    It seems that the issue below is more of a question for the Ubuntu list, 
than Tomcat's.
    
    The standard /etc/init.d/tomcat9 startup script included in the Ubuntu 
tomcat9 package, 
    should allow starting tomcat 9 on port 80 without any changes to the tomcat 
configuration 
    or scripts (other than setting the Connector to port 80 in server.xml).
    If "it doesn't work", you should consult the Ubuntu user's support list, 
where you are 
    more likely to find appropriate answers.
    See here : 
https://urldefense.proofpoint.com/v2/url?u=https-3A__ubuntu.com_support_community-2Dsupport&d=DwIDaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=yU49ICjDxaD7z2G3Zm_yr4Iprw-m6yW-pk9yfkB8GpE&m=C-ylp1u0rXLaw8PuIu2iihe8t9J5yoRDho4_9flKXd4&s=5Vjv2foGMSmFIvWhdp77aYdkojYCLQdZ7iYmgP1z16M&e=
    
    At another level : below, you mention trying authbind (which is what the 
standard Ubuntu 
    startup script does), but "I could not get it to work".
    Did you check that the settings of authbind are correct, for port 80 ?
    See : 
https://urldefense.proofpoint.com/v2/url?u=http-3A__manpages.ubuntu.com_manpages_bionic_man1_authbind.1.html&d=DwIDaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=yU49ICjDxaD7z2G3Zm_yr4Iprw-m6yW-pk9yfkB8GpE&m=C-ylp1u0rXLaw8PuIu2iihe8t9J5yoRDho4_9flKXd4&s=GXIhb1mYfUXA5OiXdNRVVG3HqNXu29cuaJW44oIbEvY&e=
    
    On 09.07.2019 15:49, Arbelo, Ralph wrote:
    > Hello,
    >
    > I have Tomcat 9.0.21 installed (binary distribution) on an Ubuntu 16.04 
server. My Java version is OpenJDK 11.0.4. I have the JSVC built and run the 
dameon.sh script to start and stop Tomcat via a systemd script. Everything 
works great, but now I need to run it on port 80 & 443. On our old server we 
have a script we use, but it doesn’t work upon startup (due to the needing to 
use sudo to get privileges to bind to port 80). For this new build, I was 
hoping to streamline the process and have Tomcat start upon boot. I’ve been 
doing a lot of Google searching on binding port 80 on Tomcat, but most of what 
I found was for older versions. Here’s what I found:
    >
    >    *   Use iptables to redirect 8080 to 80
    >    *   Proxy with NGINX or Apache
    >    *   Use authbind
    >
    > I’d rather not use iptables to redirect as (from what I understand) you 
still have to allow direct access to port 8080.
    >
    > I tried using authbind, but I could not get it to work. All the 
procedures I found were for older versions of Tomcat, so I don’t know if 
authbind will even work with Tomcat 9.
    >
    > Finally my questions-
    >
    >    1.  Has anyone successfully used authbind with Tomcat 9?
    >    2.  Anything I’m missing with getting Tomcat to bind with port 80? 
Should I just bite the bullet and use an HTTP proxy?
    >
    > Thank you!
    > Ralph
    >
    > Ralph Arbelo
    > Library IT Services - River Campus Libraries
    > University of Rochester
    > 121B Rush Rhees Library, Rochester, NY 14627
    > o: 585.275.3449 - f: 585.275.1032
    >
    >
    
    
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
    For additional commands, e-mail: users-h...@tomcat.apache.org
    
    

Reply via email to