PDA

View Full Version : connecting to DB through internet



asimov
07-25-2012, 07:21 AM
so i know this is not supported and i followed the faq, and got it working but only when specifing exactly what ip is connecting, hopefully someone has figured this out.

i thought this would allow any ip? if i specify the ip instead of 0.0.0.0 i can get in, with just zeros i get an error saying your ip is not specified in the conf file. anyone?

# TYPE DATABASE USER CIDR-ADDRESS METHOD

# IPv4 local connections:
host all all 127.0.0.1/32 md5
# IPv6 local connections:
host all all ::1/128 md5
host all all 0.0.0.0/32 md5


edit: figured it out the correct line is
host all all 0.0.0.0/0 md5