Since port must be an integer we need to convert

Since port must be an integer we need
to convert it to an integer before
assigning it to flask.