How to install and deploy the android real machine to connect to the local server

Source: Internet
Author: User

The method for connecting a real machine to a local PC server is as follows:

Set the LAN, and the mobile phone accesses a server in the LAN through WiFi (with a lan ip address)



The Android mobile phone obtains data for display by accessing the Tomcat service on the local PC, and also submits data modifications.

Originally, the connection method was used for simulator development. But the real machine does not work.

Because the development efficiency and speed of the simulator are not as good as those of the real machine, you must build a program that can debug and run AndroidProgramEnvironment.


Specific hardware requirements:

(1) A mini TP-LINK router.

(2) a direct connection network cable.

(3) A notebook with a wireless network card.


Software requirements:

(1) myeclipse8.5

(2) Tomcat server.

(3) Java Web server.

(4) Android mobile client.



The IP address used by Java Web programs is, which is the IP address of the wireless router. Because the wireless router and PC are the same machine.


The installation process is described as follows:

(1) install a wireless router:










(2) connect a local PC to a wireless network:


(3) connect your Android phone to the wireless network.

Related Article

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: 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.