From 2a7c618e9dea5a91c02fcd11a2d610e697b071b8 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Fri, 7 May 2021 21:39:12 -0700 Subject: [PATCH] only bind local port --- bin/prod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/prod b/bin/prod index f17e864..57e16c4 100755 --- a/bin/prod +++ b/bin/prod @@ -11,7 +11,7 @@ export FLASK_ENV=production mkdir -p $BASE gunicorn \ - --bind 0.0.0.0:4000 "suchwow.app:app" \ + --bind 127.0.0.1:4000 "suchwow.app:app" \ --daemon \ --log-file $BASE/gunicorn.log \ --pid $BASE/gunicorn.pid \