postgres port change problem...
Hi ,
I'm running CentOS 6 Final version. PostgreSQL starts with default port number. However when i entered Code:
port = 5555 The port 5555 is unoccupied also also i have made this port entry in semanage. Help urgently please !! |
Did you change the port of the init scripts of postgresql into port 5555 as well?
|
Quote:
|
If you are using postgresql 9.1, it should be under /etc/init.d/postgresql-9.1.Change the value of PGPORT to 5555.
|
Quote:
|
Quote:
It finally worked when i removed 'port=5555' from pg_hba.conf file. So does this mean i need not add anything to config file at all and just change the init file to change port ? |
Quote:
|
All times are GMT -5. The time now is 05:03 PM. |