@postgres I guess the port you are using default one, Not sure what you are trying, In case if you creating a connection to QSR, this needs to be with 4432.
And, If you are using server or hostname with localhost make sure you are using Localhost hub rather server or FQDN url's.
Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful