A new tab doesn't open up in my web-browser if I run the streamlit-python script

Hi @p0l4r,

Sorry for the delay. I’ve been on-and-off trying to find some docs on how to do that, but could not find anything that looked promising. (Did I mention I’m not a Windows user? :wink:)

So I have a couple more questions to help debug:

  1. When you run python -m http.server 8000 and go to http://localhost:8000 on your browser, does it show a file listing? This will tell me whether the problem is Streamlit-specific or related to any server running on your machine.

    (After you try the above, press Ctrl-C on the terminal)

  2. Try streamlit hello and then run this on another terminal: netstat -an | find "8501"

    If you see something that says “LISTENING” that means Streamlit started correctly. For example:

    TCP    0.0.0.0:8501           0.0.0.0:0              LISTENING
    
  3. Try streamlit hello then open 127.0.0.1:8501 on your browser. Does that work? If so, this command should make localhost work too: netsh http add iplisten 127.0.0.1