frank
asked Jun 01 2019
edited Jun 01 2019
Answer
#vim /var/lib/pgsql/9.5/data/postgresql.conf
And Search the following Line
#port 5432
Remove (#) and replace the port number
And finally, restart the service
#systemctl restart postgresql
linuxhelp
asked Jun 01 2019
Need to change the Postgresql default port number
Need to change the Postgresql Default port number to another port number what is the way to change the port number for Postgresql