Monday 8 June 2015

How to run Tomcat on port 80 in Ubuntu or Debian

Following works:
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

1 comment:

  1. I could not restart tomcat with

    service tomcat7 restart

    after these commands. How do i restart tomcat7 in ubuntu 14.04

    ReplyDelete