Added host and port to flask.