1. Enter the Router Settings page: http://192.168.1.1
2, find the "forwarding rules" option, my current router is tp-link, different models of Tp-link "forwarding rules" option location, settings are not the same, other routers are unknown.
3, press to set up, enter the relevant information, click on the "new" button to add, after adding the "Service List" will display the record:
4. Ensure that the Java Web project on the LAN computer that you want to access is deployed and successfully accessed, enter:/HTTP host IP: External port number/project name, such as (http://192.168.1.1:8080/ Apply) to access the Java Web Project deployed on your LAN computer from the extranet. If the external port number is 80, you can omit the port number input when accessing it, such as (http://192.168.1.1/apply)
How to publish Java Web project to external network in LAN