We don’t have any problems. Our Omnis desktop connects to local postgres.
We use Postgres 9.5, moving to postgres 12.
Omnis Studio v6 and v10.1
use Host: localhost (or 127.0.0.1)
database name, user name and user password, and you should be good to go. Test logon using pgAdmin or similar.