Postgresql not listening on network

On some operating systems, postgresql is not configured to listen on the network. To enable the TCP/IP connections, edit the /var/lib/pgsql/data/postgresql.conf and change the following:

tcpip_socket = true
port = 5432

Restart postgresql and you should be all set:

/etc/init.d/postgresql restart

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Printed from: http://rackerhacker.com/2007/05/21/postgresql-not-listening-on-network/ .
© Major Hayden 2010.

Leave a Reply