Web development by connecting hosts to virtual machines without network conditions

Source: Internet
Author: User

Web development by connecting hosts to virtual machines without network conditions

Sometimes, it is a headache for a host to be unable to connect to a virtual machine. Especially for web development, the following describes a simple method to achieve no network conditions, A web Development Method for connecting hosts to virtual machines.

First, make sure that there is a connection in your VM: VMware Virtual Ethernet Adapter for VMnet8. reinstall the VM if it does not exist.

1. Set the VMnet8 IP address. Click the following box and select "properties"

2. Set the IPV4 attribute and set the IP address to a static IP address.

3. Set the VM Network attribute and select the virtual machine for your development.


4. After setting, click "OK" to enable the Virtual Machine and set the Virtual Machine IP address.
My virtual machine is ubuntu's interface version. You can use the setup command to set the unbounded surface.
Select the MAC address:

Set an IPV4 static IP address. The IP network segment in this region must be consistent with the IP network segment set under your host:

OK. Now the whole task is finished, and you no longer need to worry about the development environment without a network.
Ssh evidence:

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.