-context=get_security_context()
-if (context == None):
- print("Start on non-secure port: "+str(port_number))
- app.run(port=port_number, host="::")
-else:
- print("Start on secure port: "+str(port_number_secure))
- app.run(port=port_number_secure, host="::", ssl_context=context)
+
+app.run(port=port_number, host="127.0.0.1", threaded=False)
\ No newline at end of file