One of the solutions to remote connection failure to Alibaba Cloud TOMCAT
I spent 50 oceans renting an Alibaba Cloud ECS cloud server. After installing mysql, Tomcat, and sqlyog to the remote server, I want to try to connect and prepare for the next release of my own music website. Enter the IP locally: After 8080, I couldn’t connect. I tried a lot of methods and finally solved it like this
- First, in the remote server, Tomcat is indeed opened, and also opened in the browser:
- Then I did not open the firewall of the remote server at all:
- I read many blogs, most of which are related to firewalls. Later, I saw one started from the cloud server console. I thought that port 8080 was not released when configuring the server! The solution is as follows:
enter https://ip:8080 in the local browser to access it! (Ip is your own remote public network IP)