python - Flask library is no longer accessible from http even though the py is still alive and working -


im using flask library python create web interface.

the py supposed running indefinitely (it data every 30 min db , operations , send dataframe json on myroute)

im using:

if __name__ == '__main__':     app.run(host = '0.0.0.0', port = 5055, debug=true) 

the problem after while , if run http://myapp:5055/myroute err_connection_refused. if run lsof -i tcp:5055 shows no app using port. .py logs have in code indicating code working fine (its fetching data , adjusting it)

any clue on how debug further?


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -