Question: how to setup database server with postgresql and pgadmin 4?
Answer: Launch pgAdmin 4. Go to the “Dashboard” tab. ...  Select the “Connection” tab in the “Create-Server” window. ...  Enter your server's IP address in the “Hostname/ Address” field. Specify the “Port” as “5432”. Enter the name of the database in the “Database Maintenance” field.