try to use streamlit run app.py --server.address=0.0.0.0 --server.port 8000 this should solve the problem you are facing .