Trouble setting up Postgres for the first time
The next thing to check is probably that you have a line in your postgresql.conf that looks like this:

listen_addresses = '*'


You will have to restart after changing that line. Otherwise your pg_hba.conf looks fine.

Good luck! Getting started is a big hurdle, but once you get through it, you will probably find that compared to MySQL things are a lot simpler and more consistent.