Y
Y
Yuri Velmesov2018-03-07 14:33:47
VMware
Yuri Velmesov, 2018-03-07 14:33:47

How to forward ports from VMware Workstation guest to Ubuntu host?

Welcome all!

There is Ubuntu Desktop 16.04
5a9fcbada951c440200060.png
, VMware Workstation PRO is installed on it, Mysql server with a database
5a9fcc1cbbf8d599730542.png
in VMware created a Windows 10
5a9fcbcd7a44f767261214.png

virtual machine In the Windows virtual machine, I installed a client program for working with HeidiSQL databases, with it I can connect to databases on remote servers no problem, but if I try to connect to a local database that runs on a host on Ubuntu, where the virtual machine is located, then an error occurs.

I understand that the problem is with port forwarding.
There is an Internet on the virtual machine, I can access the Internet.

The connection settings for the virtual machine are standard, via NAT
5a9fcd12644e4128317893.png

For example, I still have VirtualBox installed, it also has Windows, and from it I can connect to Mysql on a host on Ubuntu.
There, in the connection settings to the database, I simply indicated the ip of the host on which Virtualbox is installed, I thought that it would also work in VMware, but no.

That is, how can I access the Mysql server from the guest system to the host on which the virtual machine is located?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Shumkin, 2018-03-15
@ashumkin

https://www.vmware.com/support/ws55/doc/ws_net_nat...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question