Solution: After linux, the port of Tomcat's server.xml is changed to 80, and Tomcat cannot be started by Tomcat!

xiaoxiao2021-03-06  50

Start Tomcat on RedHat (changed to 80 in Server.XML) SU - Tomcat -c "$ CATALINA_HOME / BIN / Startup.sh" appears: Catalina.Start: LifecycleException: null.open: java.net.bindexception : Permission Denied: 80 This is because only root users can access ports below 1024. Workaround: Return the port in Server.xml to 8080 and then: iptables -t nat -a preording -p TCP - Dport 80 -j Redirect --to-port 8080 (if 443, the above method is performed accordingly Come!

转载请注明原文地址:https://www.9cbs.com/read-117459.html

New Post(0)