The default database port Postgres uses is 5432.

If you are using a customized environment and need to change the port, update these two files:

     - gui\config\entServer.xml (change anything that uses 5432 to the new port)
     - gui\config\database.yml (append the new port onto the url)