Changed db config to connect to localhost of main cannot be reached