Open angel1st opened 1 year ago
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.
Thanks @nesimtunc! This will solve server side port configuration. How about client side port config?
Hi @angel1st I don't know about next.js but here's what I found: https://nextjs.org/docs/pages/building-your-application/upgrading/version-11#port-is-now-supported-for-next-dev-and-next-start
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!