Did not auto detect external IP

Hello all,

I am trying to run my streamlit app on a docker but I come across this issue “Did not auto detect external IP” when I try to run up my streamlit web app. Also, on the docker I’m running Linux. I did not see the config.toml file so I copied the file from my windows computer over. And how do I actually view the streamlit app from my windows computer?

Currently from the print out after running streamlit run main.py I see the following:

You can now view your streamlit app in your browser.

Network URL: http://172.31.0.2:8501

It seems like it can’t detect the config.toml configuration becos I set the port to 8010. How can I go about changing the default address and port of the streamlit app? I’m able to view the configuration of the streamlit by running “streamlit config show” in my terminal. How do I go about changing it ?

Besides this when the script is run up I see this error:

Exception in thread ScriptRunner.scriptThread:
Traceback(most recent call last):
File “/usr/local/lib/python3.8/threading.py line 932, in _bootstrap_inner
Self.run()

There is no issue with running the script on windows.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.