tomcat can be started in centos7 but not displayed

First check the startup log, the log shows that the startup is successful, the java path is also correct, there is no problem.

The log directory path is $(tomcat)/logs/catalina.log

 

 

The command to view is: tail -300f catalina.log

Then check the network problem: see if any network port is open

netstat -ant | grep 8080

 Finally, I checked the firewall and found that it was the cause of the firewall:

firewall-cmd --zone=public --add-port=80/tcp --permanent

firewall-cmd reload

Just

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325214076&siteId=291194637