I have a dedicated machine and im running multipass to have VMs with ufw enabled.
I have problem with postgres. i have vm (pg-vm) with ufw disabled that has docker and there is docker-compose to run default postgres on port 5432.
I cant seem to figure out how to do machineip:5432 to navigate to pg-vm:5432 to actually connect.
So far im getting ECONNREFUSED machineip:5432
I tried iptables, ufw, but it just does not work.
How this actually be done in simple manner?