I will introduce how to make PostgreSQL accessible from outside clilent. ホストOSから VirtualBox の中の PostgreSQL にアクセスする方法 の内容と重複する部分があります。
I wrote the way to check host machine IP address from VirtualBox guest machine connected as NAT. Substantially speaking, it is the gateway address of the guest machine.
When I launched Kotlin API server in Host, Windows, and Launched Rails Web application in Guest Linux, I needed to know the host machine IP address for accessing to the API.
Here’s the way I added swap file in AWS EC2, t2.medium. At that time, I was using Jenkins in the computer, and Jenkins didn’t work because of less swap area.
Here’s a tips to connect PostgreSQL in VirtualBox guest OS, from host OS. Host OS can be Windows and Mac, because this is change of PostgreSQL setting.