I have setup PostgreSQL 9.5 on my local machine. I am trying to create a database connection from a coworkers laptop on the office network (let's say the network IP is 192.168.1.X). My database server is currently just called localhost (on port 5432). I was able to connect it to ArcGIS Desktop10.5 on the same machine using the add Database Connection option in ArcCatalog, no problem. So, I want to do the same on my coworkers computer. When I try, I get an "Unable to make database connection..." error.
I have configured my pg_hba.conf file multiple times to make sure that any computer on the networks (either 192.168.1.1 - the wifi or 10.1.10.1 - the ethernet) can access it (with database authentication of course). I followed these ESRI configuration instructions.
Is there something I am missing?
Is there something else I need to do to make the database connection to postgres?
Can anyone see a problem with my pg_hba.conf file or with using "localhost" as the database instance?