How do I access local resources through a local IP address on a local server without an outside network condition?

Source: Internet
Author: User

1, in the local server Tomcat deployed a Web site, mobile phone and server via WiFi connection to the same LAN, but the WiFi is not connected to the network cable, is unable to access the extranet. So how do I access the site through a local IP (such as: http://192.168.1.36/bus/index1.php)?

2, LAN is not connected to the external network, the purpose is to provide users with local LAN service resources.

3, when the WiFi connection Sisu network, directly to the local IP (http://192.168.1.36/bus/index1.php) is normal access to local services. But why can't I get access to the local IP address after unplugging the network cable?


For example 192.168.1.36 This is my server's IP, and this wifi can access the extranet, the phone also connected to the WiFi, IP is 192.168.1.34, click on the image corresponding to the 1.36 HTTP link, is accessible to the local server content.

When I switch to a wireless network, such as the server IP becomes 192.168.5.4, the mobile phone also switch to this wifi,ip is 192.168.5.8, this time click on the image corresponding to the 5.4 HTTP link, you can not access the local service, that will not open the page

Reply content:

1, in the local server Tomcat deployed a Web site, mobile phone and server via WiFi connection to the same LAN, but the WiFi is not connected to the network cable, is unable to access the extranet. So how do I access the site through a local IP (such as: http://192.168.1.36/bus/index1.php)?

2, LAN is not connected to the external network, the purpose is to provide users with local LAN service resources.

3, when the WiFi connection Sisu network, directly to the local IP (http://192.168.1.36/bus/index1.php) is normal access to local services. But why can't I get access to the local IP address after unplugging the network cable?


For example 192.168.1.36 This is my server's IP, and this wifi can access the extranet, the phone also connected to the WiFi, IP is 192.168.1.34, click on the image corresponding to the 1.36 HTTP link, is accessible to the local server content.

When I switch to a wireless network, such as the server IP becomes 192.168.5.4, the mobile phone also switch to this wifi,ip is 192.168.5.8, this time click on the image corresponding to the 5.4 HTTP link, you can not access the local service, that will not open the page

is not useful to external resources
What are the error hints that cannot be accessed?

The phone is going to be in the same network segment as this machine (or even on the same router), which I've been developing.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.