Revert "Revert "Using localhost as the database server location""

This reverts commit 805f8efc8eac166c9abfd4a994afb278bde2b78e.