App is not loading when running remotely
Below are a few common errors that occur when users spin up their own solution
to host a Streamlit app remotely.
To learn about a deceptively simple way to host Streamlit apps that avoids all
the issues below, check out Streamlit Cloud.
Symptom #1: The app never loads
When you enter the app's URL in a browser and all you see is a blank page, a
"Page not found" error, a "Conection refused" error, or anything like that,
first check that Streamlit is actually running on the remote server. On a Linux
server you can SSH into it and then run:
bash
ps -Al | grep streamlit
If you see Streamlit running, the most likely culprit is the Streamlit port not
being exposed. The fix depends on your exact setup. Below are three example
fixes:
Try port 80: Some hosts expose port 80 by default. To
