Setting up Postgres: Can't connect remotely to Postgres server

Solution 1:

Open postgresql.conf in a text editor and look for the listen_addresses keyword. Set it to *

Restart pgsql.

Solution 2:

Just FYI ... one incredibly dumb thing that I nevertheless did was to forget to remove the leading "#" in the "listen_addresses" line in the configuration file when I went to change it. (Yep... therefore, the line was [still] a comment! Duh-h-h-hhh.)