There are 2 virtual machines in Oracle VM VirtualBox: Ubuntu and Windows 7. I needed to get access to the PostgreSQL database located on ubuntu with Windows 7. I was looking for how to connect, I found that both virtual machines have the same IP (in the settings there is NAT). I was looking for solutions on different sites, I learned that I needed to use a virtual host adapter, but I still didn’t understand how to properly configure it. If someone can tell, I will be grateful.
At the moment, both virtualki are connected via NAT and have IP 10.0.2.15.



