The story so far:
- I have installed Postgres on my Linux based desktop (HOST).
- I have created a test database, with test data, on HOST.
- I have added to the end of the pg_hba.conf file on HOST:
host samerole all 0.0.0.0/0 md5
- I have added to the end of the postgresql.conf file on HOST:
listen_addresses = '*'
- I have installed PGAdmin4 on the Linux virtual machine of my Chromebook (CLIENT).
- The IP address of HOST is 192.168.1.159, and the port is 5432.
- If I run
telnet 192.168.1.159 5432
on CLIENT, it seems to connect. - However, if try to connect to the same IP address and port via the PGAdmin GUI, it responds:
Unable to connect to server: FATAL: no pg_hba.conf entry for host "192.168.1.208", user "postgis_user", database "postgis_prototype", SSL on FATAL: no pg_hba.conf entry for host "192.168.1.208", user "postgis_user", database "postgis_prototype", SSL off
- If I try to connect via the command line, I get a very similar response.
Does anyone know why this is happening, and what I can do to fix it?