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

Change ports #64

Open
angel1st opened this issue Jul 1, 2023 · 3 comments
Open

Change ports #64

angel1st opened this issue Jul 1, 2023 · 3 comments

Comments

@angel1st
Copy link

angel1st commented Jul 1, 2023

Is there an easy way to change ports inside the code - both client and server? I looked at it, but didn't able to find anything specific. I would like to dockerize both client and server, and make sure ports are inside docker-composer file.
Thanks!

@nesimtunc
Copy link

Yes, you can run the app like with custom port:

Replace this:
app.run(host="0.0.0.0", debug = False)
with this:
app.run(host="0.0.0.0", port=3001, debug = False)

And update 5000 to 3001 in client side.

@angel1st
Copy link
Author

angel1st commented Jul 1, 2023

Thanks @nesimtunc! This will solve server side port configuration. How about client side port config?

@nesimtunc
Copy link

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