Tomcat7 bind to port 80 fails in Ubuntu 14.04LTS

后端 未结 4 1694
故里飘歌
故里飘歌 2021-01-30 04:15

I\'ve got a problem with my tomcat7 installation on a newly updated Ubuntu system. Ever since the update to 14.04 LTS, tomcat refuses to start on port 80 with an error that I ca

4条回答
  •  迷失自我
    2021-01-30 04:43

    Following works:

    apt-get install authbind

    First, set AUTHBIND=yes in /etc/default/tomcat7 file

    sudo touch /etc/authbind/byport/80
    sudo chmod 500 /etc/authbind/byport/80
    sudo chown tomcat7 /etc/authbind/byport/80
    

    There was a reference URL here, but the website has been hacked (marked as unsafe in Edge, and Chrome prompts me to install a browser extension).

提交回复
热议问题