启动80端口:
修改server.xml Connector port=80
修改/etc/default/tomcat AUTHBIND=yes
查看/etc/authbind/byport/下时候80这样的文件夹,如果没有则创建并初始化:
touch /etc/authbind/byport/80
chmod 500 /etc/authbind/byport/80
chown tomcat7 /etc/authbind/byport/80
重启tomcat服务 service tomcat7 restart
时间: 2024-11-04 21:19:17