Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change serve port from 5000? #99

Open
ya1220 opened this issue Oct 18, 2021 · 1 comment
Open

How to change serve port from 5000? #99

ya1220 opened this issue Oct 18, 2021 · 1 comment

Comments

@ya1220
Copy link

ya1220 commented Oct 18, 2021

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

@tonydeck0506
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants