I want to create a new VM and install Linux (may decide to use macOS but should be same question). In this new VM I want to install a PostgreSQL database Server with associated databases. From the macOS VM, how do I connect to the server on the other VM?