Identify the PostgreSQL listening port

  1. Log in to your PostgreSQL database server.
  2. Locate your PostgreSQL postgresql.conf file.
  3. Locate the port Connection Parameter. For example:


    # # Connection Parameters # tcpip_socket = true #ssl = false max_connections = 32 port = 5432