ideonate / streamlit-launchpad

Browse a folder containing multiple streamlit apps and launch them immediately
Apache License 2.0
141 stars 25 forks source link

OSError: [Errno 99] Cannot assign requested address when starting Dockerized web app #6

Closed ohjho closed 3 years ago

ohjho commented 3 years ago

I keep bumping into this issue occasionally. Is it possible to expose an optional arg for setting the app's root ip address? (i.e. "0.0.0.0" as oppose to "localhost")

danlester commented 3 years ago

It should be possible to do that, but I think it's unlikely it will solve your problem. If it normally works for you, then it seems likely that it can access the port via 'localhost' as much as it could via 0.0.0.0. The first suggestion in your link is perhaps the problem - that other processes are already running on the same port.

So I think it would be best to try to understand if that's the case, and exactly what else is already running.