How to change the port that Postgres database connectivity operates on?
Objective: To change the port that Postgres database connectivity uses.
Steps:
- The database connectivity of Postgres database needs 33315 port to work.
- Check if any other application runs in the same port.
- If the port is already in use, then change the default port number in the database_params.conf in the conf folder of product location (url=jdbc:postgresql://localhost:[Your_Port_Number_here]/spmpdb?useUnicode=true&c haracterEncoding=UTF-8).