The problem is this. I modified the server.xml port number in tomcat under Linux from 8080 to 80. There was no error when starting, but I couldn't access it! And I also modified the tomcat server.xml port number under local windwons and it is accessible! I checked the problem, and some said that if the port number is less than 1024, I need to modify the files under etc/tomcat.., but when I opened it with the command, it was all ~~ ~ Sort by row one by one. I don’t know why, but changing tomcat to 80 still doesn’t work. Others say that they check port 80 and then kill them all. The problem is that there is always one left that cannot be deleted. This is a very embarrassing thing. I don’t know if you have encountered such a problem in the process of learning. I hope you can give me more guidance on how to solve it.
It is possible that port 80 is occupied by other applications. Use cmd to check which program is occupying port 80, kill it, and then start tomcat
There is no problem starting up, it may be that the firewall does not open port 80
Sorry, the problem has been solved. I set the security group specification of Alibaba Cloud to 80/80 0.0.0/0. I forgot this setting.