After install Postgres as root i got this error in pgAdmin.
I am using ubuntu server 22, and try to connect from a another machine by a browser.
The pdAdmin i can open but to connect to server i got this error:
Unable to connect to server:
connection failed: connection to server at "192.168.x.xx", port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?