The host cannot access the website configured in the virtual machine! ! ! It is probably a problem with the bridging mechanism, which cannot be used in this way.
It may be related to the "selection of sharing data directly with the host's physical network card" under bridging.
The virtual machine cannot connect to the InternetYou need to enable virtual machine network-related services, install a virtual network card, and install VMwareTools
To achieve NAT access to the Internet under the VMware virtual machine
1. Set your virtual network card VMnet8 to automatically obtain IP and automatically obtain DNS server, and enable it.
2. Set the "Local Area Connection" of the operating system in your virtual machine to automatically obtain an IP and automatically obtain a DNS server
(In the virtual machine, right-click "Local Area Connection" - Double-click "Internet Protocol" and see if it is automatic! The fixed IP can also be changed here!)
3. Of course, select NAT as the Internet access method of the virtual machine.
Right-click the virtual machine you want to set up and select "Settings" (because some have more than one virtual machine), select "Ethernet" in "Hardware", and change the network connection on the right to NAT - OK.
4. Click "Edit" in the menu bar - select "Virtual Network Settings", first remove "Auto Bridging" (remove the hook), then select "DHCP" to start the DHCP service, click "Start" - Apply, and then turn on the "NAT" function in the same way.
5. The most important thing is that your two services must be turned on: VMwareDHCPService and VMwareNATService.
The specific operations are as follows: Start---Settings--Control Panel---Management Tools---Services, make sure that the VMwareDHCPService and VMwareNATService services have been started.
P.S. In fact, the way my Host accesses the Internet is quite complicated. I use residential broadband and connect to the router myself to use the homeshare proxy to access the Internet. It seems that the NAT method is really easy to use. As long as the host can access the Internet, VMware can access the Internet with a few settings.