start HTTP server in database connection callback