A port map of Ubuntu virtual machines and windows in VMware, sharing an IP address

Source: Internet
Author: User
Tags change settings

In the Ubuntu virtual machine, the Meteor daemon runs, requires a terminal connection, and requires a port map of the Ubuntu virtual machine and Windows (the virtual machine shares the IP address with the host).

The following steps are set:

1. Click Compile, Virtual network editor


2. In the Virtual Network editor interface, click the change settings below to get Administrator privileges


3. Select "Nat Mode", and in the vmnet below, click on "Nat settings (s) ..."


4. Click Add, add a port forwarding information

5. Step 4th, click the Add button, jump out of the map to the incoming port, enter the relevant information, host port, type, virtual machine IP address, virtual machine port, description; Host port can be the same as the virtual machine port, the virtual machine IP address can be viewed with the "ifconfig" command; type select "TCP". Describe what you can write about; Finally, click OK, map the incoming port interface off, click the OK button in the NAT settings interface, click on the application in the Virtual Network editor interface, and then click OK to complete all settings.


6. Now, you can put your host IP address, just set the host port to the front end of the staff to be linked.



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.