I have a Postgres 11 database installed on a VirtualBox virtual machine running Centos7 (guest machine), and my host machine is a Mac OS Catalina. Both the guest (Centos) and host (Catalina) have JDK 8 installed. I have the following simple Java code that uses a single dependency postgresql-42.2.5: I compile and run this on my host (Catalina) : and
Tag: virtualbox
TCP connection between 2 Virtual Box machines on 1 local host [closed]
I wrote a Client/Server app in java using TCP connection. For the Client to run I need to provide it with IP of the server. It works well on two consoles on one Windows with IP = localhost, but not on …