1

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

frank
asked Jun 1, 2019
edited
1 Answer
1

#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

View More
linuxhelp
answered Jun 1, 2019
Your Answer
||||
x
 
100:0

Related News in Need to change the Postgresql default port number

Related News in Need to change the Postgresql default port number