How to let the external network access the local tomcat project

I use tomcat to start a project on win10. Local computer access is easy. Sending url to a mobile phone will not open it. I would like to ask how to enable the external network to access local projects

.
Mar.11,2021

  1. turn off the firewall on your computer
  2. make sure the phone and the computer are on the same local area network (that is, the phone does not surf the Internet through data)

Open source holer, only needs to configure one key to access
https://github.com/Wisdom-Pro.


first, win+r = > cmd = > type ipconfig to check the local ip;
Mobile computer in the same LAN, the phone can type the ip+ port number of the computer.
for example, computer (wireless local area network ip:192.168.3.56) access: localhost:8080;
mobile phone is http://192.168.3.56:8080;


Public network IP is required if there is no public network IP, can be configured with open source holer, and a key can be accessed from the external network

.
Menu