Change to let the HTTP server listen after page database is prepared