Many thanks for everybody.
I realize that postgresql assume the mask 255.255.255.0 as an external net. So I put "host" and it is working great now. Dave is correct.


All the information about the mask provided by you guys is relevant and correct. I found out that the postgres assume the masks in a correct rule to know what is local and what is internet.

Thanks Keith, Roman, Lamar and Dave. I hope be useful for you in the future.

efesar wrote:

I put the following line at pg_hba.conf:

local all 10.17.11.0 255.255.255.0 trust



Mine has a "user" column, which yours skipped. It would be:


local all all 10.17.11.0 255.255.255.0 trust

You must also make sure you restart the server. Try connecting on localhost
or 127.0.0.1.

PS, are you actually on a Class C network? If you are, then your subnet mask
might be 255.0.0.0, or something else entirely.

-Keith


---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives?

http://archives.postgresql.org






---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly

Reply via email to