Hello,
I would like to connect to postgresql on a virtual machine using
JDBC. Here is part of the code:
Code:
Here is the output when the code is run:
I think the problem comes from the connection parameters. I think it is trying to connect to postgresql on my local machine on not on the VM.
I need help in getting the right parameters to connect to postgresql on the VM.
Thanks