1. a website is deployed on the local server tomcat. the mobile terminal and the server are connected to the same LAN through WiFi, but the WiFi is not connected to the network cable, and the Internet cannot be accessed. How to access the service through a local IP address (such as 192.168.1.36busindex1.php...
1. a website is deployed on the local server tomcat. the mobile terminal and the server are connected to the same LAN through WiFi, but the WiFi is not connected to the network cable, and the Internet cannot be accessed. In this case, how can I access a website through a local IP address (such as http: // 192.168.1.36/bus/index1.php?
2. the LAN is not connected to the Internet, so that only service resources in the local Lan are provided.
3. after WiFi is connected to the Internet, direct access to the local IP address (http: // 192.168.1.36/bus/index1.php) can be normal. But why can't I use a local IP address to access the Internet after the network cable is unplugged?
For example, 192.168.1.36 is the ip address of my server, and the WiFi can access the internet. after the phone is connected to the WiFi, the ip address is 192.168.1.34. click the http link of 1.36 corresponding to the image, is accessible to the local server.
When I switch to a WiFi that cannot access the Internet, for example, if the server ip address is 192.168.5.4, and the mobile phone is switched to the WiFi address, the ip address is 192.168.5.8. at this time, click the http link of 5.4 corresponding to the image, the local service cannot be accessed, that is, the page cannot be opened.
Reply content:
1. a website is deployed on the local server tomcat. the mobile terminal and the server are connected to the same LAN through WiFi, but the WiFi is not connected to the network cable, and the Internet cannot be accessed. In this case, how can I access a website through a local IP address (such as http: // 192.168.1.36/bus/index1.php?
2. the LAN is not connected to the Internet, so that only service resources in the local Lan are provided.
3. after WiFi is connected to the Internet, direct access to the local IP address (http: // 192.168.1.36/bus/index1.php) can be normal. But why can't I use a local IP address to access the Internet after the network cable is unplugged?
For example, 192.168.1.36 is the ip address of my server, and the WiFi can access the internet. after the phone is connected to the WiFi, the ip address is 192.168.1.34. click the http link of 1.36 corresponding to the image, is accessible to the local server.
When I switch to a WiFi that cannot access the Internet, for example, if the server ip address is 192.168.5.4, and the mobile phone is switched to the WiFi address, the ip address is 192.168.5.8. at this time, click the http link of 5.4 corresponding to the image, the local service cannot be accessed, that is, the page cannot be opened.
Is it useful to external resources?
What are the error messages that cannot be accessed?
I have always developed a mobile phone in the same network segment (or connected to the same vro) as this machine.