plotlydash-flask-tutorial icon indicating copy to clipboard operation
plotlydash-flask-tutorial copied to clipboard

How to change serve port from 5000?

Open ya1220 opened this issue 2 years ago • 1 comments

Hi Todd,

Thank you for the amazing tutorial!!

Wanted to ask - how would it be possible to change the port being served from 5000? i.e. when deploying an app like this, so that user doesn't have to go to website.com:5000/dashapp/ but just serve it on one of the default ports?

Thank you! Yaro

ya1220 avatar Oct 18 '21 19:10 ya1220

change the line in wsgi.py (home directory) to something like. app.run(host="0.0.0.0",port=8080)

tonydeck0506 avatar Nov 16 '21 12:11 tonydeck0506