Change the Postgresql port that GVM is looking for?

Hello,

We are installing GVM on a system that has another product running postgresql on port 5432 already. I will admit I haven’t really used postgresql in the past, but GVM does not appear to be able to connect to that instance:

md manage:WARNING:2022-04-05 14h58.35 utc:89386: sql_open: PQconnectStart to ‘gvmd’ failed: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket “/var/run/postgresql/.s.PGSQL.5432”?

So I installed postgresql12 and that is listening on 5433. Is there a way to get the GVM services to connect to postgresql on that port rather than 5433? We already looked into it, and the other vendor said it is not possible to change the port their product uses, so we are hoping we can with GVM.

Thanks in advance for any help!

GVM versions

gsad: 21.4.3
gvmd: 21.4.4
openvas-scanner: 21.4.3
gvm-libs: 21.4.3

Environment

Operating system: Ubuntu 20.04
Kernel: 5.13.0-39-generic #44~20.04.1-Ubuntu SMP Thu Mar 24 16:43:35 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Installation method / source: Greenbone Vulnerability Manager | Libellux