Android phone ping virtual machine ubuntu IP address

Source: Internet
Author: User

Today, the use of Android phones to the virtual machine on the Ubuntu built on the Nginx and rtmp server push things, how can not be pushed up.

Later in CMD under Windows:

# adb Shell

# ping 192.168.0.56

Simply ping the IP of the virtual machine, found that the virtual machine's IP and Windows host IP is no longer a network end, so how can not ping pass.

It was later discovered that VMware's network adapter chose NAT mode, which was not possible.

You need to change to: Bridging mode, and then edit the option to automatically line up directly:

=============================================================

This way, after restarting the virtual machine, Ubuntu IP will be on the same network as the Windows host's IP.

The phone can be pushed to the nginx.

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.