Streamlit Localhost Works, but Network Does Not Connect
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 shows:
This site can’t be reached10.64.1.47 took too long to respond. Search Google for 8501 ERR_CONNECTION_TIMED_OUT.
This is nearly identical to Issue 422, but I do not even get to the please wait screen.
Steps to reproduce
- streamlit run xxxxx.py
- local URL: http://localhost:8501 - works!
- network URL: http://10.64.1.47:8501- works on local computer, fails on other compturs on network
Expected behavior:
I would expect taht network url would work on computers on the same network
Actual behavior:
Is this a regression?
No
Debug info
- Streamlit version: 0.51.0
- Python version: (get it with
$ python --version
) - Using Conda Environment
- OS version: Windows 10
- Browser version: Google Chrome
- Port 8051 Open
- Config.toml set to disable CORS
Additional information
Firewall status:
Profile = Domain Operational mode = Enable Exception mode = Enable Multicast/broadcast response mode = Disable Notification mode = Disable Group policy version = Windows Defender Firewall Remote admin mode = Enable
Ports currently open on all network interfaces: Port Protocol Version Program
8051 TCP Any (null)
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (2 by maintainers)
Top GitHub Comments
This setup seems correct to me. I wonder the firewall blocks Websockets. Is there any way to double-check that?
Hey I made a typo and allowed port 8051 instead of 8501 (smack myself in the forehead) I am closing this issue.