Home > OS >  How to access the host in the virtual machine installed on the database
How to access the host in the virtual machine installed on the database

Time:11-20

As title, I installed on your computer centos7 Linux system, some service was installed above, the database is installed on the original host computer in, but now because of the need to the virtual machine to be able to access the service on a host of database, but now the problem is, NAT model that is used by the virtual machine can be access from the host browser virtual machine service, but not know what is the IP host, allowing virtual machine service access on a host of database services, how should I do to get to the host IP or visit on a host of database service? thank you

CodePudding user response:

I on the Internet to find some solutions, one is said NAT mode, the host is equivalent to a gateway, host and virtual machine can't establish communication, but need to use only the host model, used only if the host model, the virtual machine is the IP is changed, and still not clear in the mode and how to learn the IP address of the host,

CodePudding user response:

Not directly on the host ipconfig (win)?

CodePudding user response:

Virtualization software all don't say what, just want to solve the problem?

Vmware workstation:
NAT model equivalent to a virtual machine in the network, the host has a virtual network card is a gateway, directly in line,
Oracle virtualbox:
NAT model is the user mode, virtual machines to see a gateway is false, but can directly access the host external IP,
NAT network mode similar to vmware,

If can't access, check the host on the firewall is blocking, because for vmware the virtual machine is equivalent to the external network,

CodePudding user response:

  • Related