The pit father's Tomcat website, which is unfamiliar with Alibaba Cloud ECS resources, cannot be accessed from the external network. It took two days for the event

Clues: 1) The project in the Tomcat/WebApp directory of the previous server suddenly could not be deployed or deleted. So download 360 forced deletion, invalid. The original file directory has no administrator operation authority.

         2) After changing the project name to XX2, after changing the name, create a new file, and the deployment is successful.

        3) The original directory XX can magically be modified and deleted again.

 Thinking: 1) 360 may automatically open the firewall, open the inbound disable rule, and disable port 80.

         2) Through comparison, problems can be extracted and found.

       3) Why does the ali server become more and more useless! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! 1

 

Process

1) Check the Tomcat/conf/server.xml problem repeatedly, and check the binding relationship between the project and the domain name

2) Repeatedly re-unfamiliar projects, no effect

3) Log in to the Alibaba Cloud console to view the domain name, DNS entry and exit rules, and display the open status of port 80. http:80 https:443

4) After the remote server, check the firewall configuration, there are 2, 1) private network (not used) 2) public network, the firewall is open, and it can be accessed after it is closed!

cause, possibly

 

Guess you like

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