Pushpa Gorak <pushpag(at)yash(dot)com> writes:
> i have installed postgresql8.1.1 on RedHat7.0. how do i enable TCP/IP
> connection. though i have uncommented listen_addresses = localhost in
> postgreql.conf file,the connection is refused.
You probably need to change your iptables configuration to allow
connections to port 5432.
regards, tom lane