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?
There is a param called server.port. So you can do something like:
streamlit run streamlit_app.py --server.port 8080
This is correct if you want to specify the exact port, or Streamlit will just increment the port number to
8503, etc. if 8501 is in-use.