For your home network, generally set up a virtual server on the router, map it to the computer where you publish tomcat, and then search the IP address on Baidu to check the public IP address, and then you can access it.
As long as you have an IP from the external network, you can either forward it to the internal network through the machine with the external IP, or you can directly hang tomcat on the machine with the external IP
For your home network, generally set up a virtual server on the router, map it to the computer where you publish tomcat, and then search the IP address on Baidu to check the public IP address, and then you can access it.
As long as you have an IP from the external network, you can either forward it to the internal network through the machine with the external IP, or you can directly hang tomcat on the machine with the external IP
Put it on the server. It is best to get an nginx on the front end to separate dynamic and static, and reverse proxy.
Baidu ngrock.