So I had PostgreSQL working in Ubuntu 11.04 using 8.4(?), however, when I upgraded it also upgraded PostgreSQL to 9.1 and now I can't connect using JDBC.
I added the following to my pg_hba.conf
host all all 127.0.0.1/32 trust
host all all 0.0.0.0/0 trust
and the following to my postgres.conf...
listen_addresses = '*'
but I get the following connecting with SQuirrel
My Local PostgresSQL: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Any ideas?