Now that the group security policy has been modified, ports 8080 and 21 are not open by default, so tomcat and ftp cannot connect at all.
Steps to enable: Open Alibaba Cloud Console -> Instance -> Group Security Policy -> Configure Rules -> Add Security Group Policy -> (take port 8080 as an example): see the figure below