Removed hard-coded ip for the db.