In ubuntu, Tomcat is bound to port 80, and ubuntutomcat is bound to port 80.

Source: Internet
Author: User

In ubuntu, Tomcat is bound to port 80, and ubuntutomcat is bound to port 80.

Reprinted from: http://www.cnblogs.com/mabaoqing/p/7808354.html

A problem occurred when deploying your own small project. In the tomcat server. xml modification, the port 8080 was changed to port 80. When you restart tomcat to access it directly with a domain name, you will find that the access fails. Google found that tomcat uses authbind to specify ports lower than 1023. Authbind is a tool under GNU that helps system administrators specify ports for programs. If your machine does not have authbind installed, you must first install it: sudo apt-get install authbind and then Configure port 80: sudo touch/etc/authbind/byport/80 then start tomcat to access the 80 service: sudo authbind -- deep. /catalina. sh start

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.