First of all to ensure that the mobile phone with its own notebook in the same LAN, and then to ensure that the server port number is open.
This paper takes Win8 as an example
1, confirm that the mobile phone and notebook in the same LAN;
Win + R Opens "Run", enter "cmd" carriage return, then enter "ipconfig" command, locate the IP address;
2, the port number of the open server (my tomcat is open 8080 port, this according to their own configuration to set);
Refer to: https://jingyan.baidu.com/article/e9fb46e19ff8137521f7660c.html
During setup, you may see "Telnet is not an internal or external command" after entering "telnet 127.0.0.1 8080" because the Telnet server is not turned on, as described in the following: https://jingyan.baidu.com/ Article/6525d4b1377913ac7d2e94eb.html, this Baidu experience is to open the Telnet client, but because we want to let the phone to access the local server, so we need to turn on the Telnet service, not the client.
3, testing;
Start monitor Tomcat to manually start the Tomcat server and enter it in your phone browser: http://192.168.1.102:8080/, you will see Tomcat's welcome page;
How the phone accesses the local server tomcat