Mobile Access to local server

Source: Internet
Author: User

Do development will inevitably have a mobile phone test, but they do not have a server, no network mapping tools, no ...

But the local server has been built up, how to use the phone to connect it? Let's see how I do it.

Preparation: Your computer and mobile phone must be networked, and in the same IP section (plainly, even on the same router), second, the local server must start up, the computer is Win7 system, Win8 seems to have some, some can not, the conditions are limited, no in-depth study.

1: I first built a local server with nodejs+express. (Can not read my blog about node's notes, or self-search online)

  

Here I use the Express default port of 3000,

2: Open cmd (Window key +r simultaneously press out to run, input: cmd)

3: View your computer's IP--"

Input: ipconfig

IPV4 address is your IP.

4: Open the mobile browser, enter in the Address bar: IP Address: Port number

For example my: 192.168.1.100:3000

At this point you can access your own server, is not very cool!

If you have any questions, please leave a message! or add me.

qq:327896777 Water Tanker

Mobile Access to local server

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