diff --git a/app.py b/app.py
index 0a22a8257685e8007c673654de7f234cba441448..f125b58583eae12a1341515221d30e5ea1e3a703 100644
--- a/app.py
+++ b/app.py
@@ -224,4 +224,5 @@ def logout():
 
         
 if __name__ == '__main__':
-    app.run(debug=True)
\ No newline at end of file
+    port = int(os.eniron.get('PORT', 8080))
+    app.run(host='0.0.0.0', port=port ,debug=True)
\ No newline at end of file