> Here is the file. Please give me more suggestions.
Actually, I think the best place to set this would be in the config file.
The right place depends on which version you are running.
If your version is lower than 7.1, put a line in postmaster.init that looks
like this:
PGALLOWTCPIP=yes
If your version is 7.1 or higher, put a line in postgresql.conf that looks
like this:
TCPIP_SOCKET = 1
On Debian Linux these files would be found in /etc/postgresql
I'm not sure where they live on other platforms.
-Nick