External machine connection to the local Virtual Machine Server

Source: Internet
Author: User

Note: sometimes when we place the server on a virtual machine, we can only connect the local machine to the webpage. However, if you want other computers to access the server, you need to map the server to the VM. The implementation is as follows:

1. Choose VM> Edit> Virtual Network editor.

Note: The system here uses the NAT mode. The virtual network card is vmnet8.

2. Click Nat settings

3. Set ing

Iv. Test

Enter the IP address of the local host and the port number you set when accessing the external host.

For example, 10.8.160.32: 9999 // 10.8.160.32 indicates the IP address of the Local Machine and 9999 indicates the port number you just set.

In this case, the external machine can access the service of port 192.168.80.101: 9999 on your virtual machine in the form of 10.8.160.32: 8088. OK

 

External machine connection to the local Virtual Machine Server

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.