Had to add localhost to the db file to make the app run.