After running my app and clicking on the provided URL, I keep getting this error message that the page canât be reached. I have tried changing the server port to 8502 but it still doesnât work. Please what can I do?
Hi @Mimi,
Thank you for your question.
Would it be possible for you to send us the repo as well as an error log trace, if anything from your console is being displayed?
Best,
Charly
Thank you @Charly_Wargnier
Sure, I can provide you with the repository. This is a link to it, specifically to the python file for app. Github repo.
For the error log trace, there is no error being displayed on my console. When I use the command Streamlit run app.py
It runs smoothly giving me the URLs I need to access the running app on my browser. The issue is that when I click on the link it keeps on saying that the page canât be reached.
Thanks, @Mimi,
Just to clarify â when you use the command streamlit run app.py
, it runs smoothly. But when you click on the link, it keeps saying that the page canât be reached.
Which link are you referring to?
Thanks,
Charly
Yes @Charly_Wargnier
Okay so below is a screenshot of my terminal. Once I click on the URL provided and I am taken to another tab on my browser that is when I get the error that the page canât be reached.
Thanks @Mimi.
Hereâs a command you can try to bind Streamlit to all interfaces:
streamlit run app.py --server.address 0.0.0.0
Would you mind letting me know what you get?
Thanks,
Charly
Thank you @Charly_Wargnier, I tried your suggestion, but it still didnât work. Iâm still getting the error that the page canât be reached.
Thanks,
Miriam
Have you looked into any network restrictions or firewall settings that might be blocking the appâs port? Also, have you checked if the port youâre using (e.g., 8502) isnât occupied by another application? You can maybe try other ports if necessary.