I'm completed the installation of PG server. I want to be able to be able to remote connect to it with pgAdmin but keeps on getting server don't listen error.
could not connect to server: Connection refused Is the server running on host "192.168.1.11" and accepting TCP/IP connections on port 5432?
It's on my network and I know I have to edit pg_hba.config file. Everywhere I read, I have to add a line,
host all all ip address/mask md5
My question is, what is the /mask and how/where do I get it? The IP I'm connecting from is 192.168.1.9.
Thank you so much for your time, I am using Ubuntu 16.04 and Postgresql 9.4.
host all all 192.168.1.9/32 md5and put it not to the end, but to the begining of "host" section - just after "local"