example:
I build 1.py and 2.py in a same desktop.
If I want to run 1.py and 2.py together, how can I use different port to run 1.py and 2.py in a same explorer at the same time?
Thank you.
There is a param called server.port. So you can do something like:
streamlit run streamlit_app.py --server.port 8080
1 Like
This is correct if you want to specify the exact port, or Streamlit will just increment the port number to 8502
, 8503
, etc. if 8501 is in-use.
1 Like