Thanks for the reply. I figured it out, the problem was with my postgresql configuration. the following seemed to do the trick. local all md5 host all 0.0.0.0 0.0.0.0 md5