Add database host and port to config file.