& Nbsp; solution: In linux, if the port of tomcat server. xml is changed to 80, tomcat cannot be started as tomcat. Start tomcat on redhat (change the port in server. xml to 80) su-tomcat-c $ CATALINA_HOME/bin/startup. sh and the following error occurs: Catalina. star
Solution: In linux, after the Port of tomcat server. xml is changed to 80, tomcat cannot be started as tomcat.
Start tomcat on redhat (change the port in server. xml to 80)
Su-tomcat-c "$ CATALINA_HOME/bin/startup. sh"
The following error occurs: Catalina. start: LifecycleException: null. open: java.net. BindException: Permission denied: 80.
This is because only the root user can access ports lower than 1024.
Solution: change the port in server. xml to 8080 again.
Then: iptables-t nat-a prerouting-p tcp -- dport 80-j REDIRECT -- to-port 8080
(If 443 is used, the above method is also executed)
You can.