Can`t connect to streamlit server over network
See original GitHub issueSummary
When I run streamlit hello
it works very well in my local browser. When I try to connect from another computer on the network, using the provided network url or using the local ip address of the computer running the app, streamlit seems to get stuck on connecting.
Steps to reproduce
What are the steps we should take to reproduce the bug:
- Run
streamlit hello
- with another computer on the same network go to other.ip.address:port
Expected behavior:
I expected to be able to access the running app over the network, and being able to see the hello-example in the browser on another computer.
Actual behavior:
On the computer not running the app, you do see that it is trying to do something but it never connects to the streamlit server.
Is this a regression?
no, I have not had this work before
Debug info
- Streamlit version: 0.47.0, 0.48.1
- Python version: 3.6.8
- Python3 with venv
- OS version: ubuntu
- Browser version: chrome, firefox
Additional information
If needed, add any other context about the problem here.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:9
- Comments:18 (5 by maintainers)
Top Results From Across the Web
App is not loading when running remotely - Streamlit Docs
Symptom #1: The app never loads · Try port 80: Some hosts expose port 80 by default. To set Streamlit to use that...
Read more >Network URL not working on other computers - Using Streamlit
When I try to access the web app from another computer using the provided network URL, Streamlit shows: Safari can't open the page...
Read more >Unable to connect to the streamlit app on using the Network ...
i have a streamlit app that is created and will be used internally in the company so on the internal network. I try...
Read more >Can't access streamlit app from outside of network
Hi, I've made an app that I'm ready to share with a few friends. I forwarded ports and can access it from outside...
Read more >Configuration - Streamlit Docs
As flags on the command line when running streamlit run : ... Default: (unset) # address = # The port where the server...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you for your answer. I looked for ~/.streamlit/config.toml and it was not there. In ~/.streamlit only credentials.toml existed. I created config.toml with only this in it:
This indeed fixed the problem for access over the local network.
Configuring it with
does not work. If I navigate to the_address.com/8501 both on the computer that runs the app and other computers on the network the browser does try to go to the network ip address that streamlit gives in the console but I get server-not-found errors.
@dcaminos inside of a conda environmet where should I place my config.toml file?