Revert "detected that pg_connect failure is due to crash.rave.org itself, and not a problem in the coding. Currently using localhost as host"

This reverts commit 91aeb082a5a361588c5fed639a7c3a0896fcabd0.