Ali cloud lightweight server configuration tomcat pit of

Everything is configured, by accessing localhost: 8080 is accessible to the tomcat server, but the server via the public network ip has been no response.
But I tried nginx server is possible, install nginx server, the browser directly enter the public ip (you buy server ip), nginx came home, can prove that Ali cloud server is no problem.
This is the thought of the port, nginx is the default port 80, and Ali cloud lightweight server just configured the firewall default port 80.
Here Insert Picture Description
tomcat default port 8080, the default server is not, add it.
Here Insert Picture Description
So again your browser and enter ip: 8080 on it.
Here Insert Picture Description
Done

Guess you like

Origin blog.csdn.net/ouyang_ouba/article/details/89609880