specific range for changing the port number in PostgreSQL. The default port is 5432, but if we want to change it, what range of values is acceptable? And how can we check if a new port is open and accessible?
I think there is no limits, you can change to anything acceptable. Regarding port checking - depends on system
netstat -pant | grep Postgres You can use upto 65k plus
netstat is deprecated, use lsof, ss, ip instead for this
Обсуждают сегодня