Hi there,
My apps have been working fine on my localhost, updates after updates, for almost 4 years until today.
Windows 10 updated itself 3h ago, and, for some reason, my localhost can’t be reached anymore. Neither on localhost, nor on 127.0.0.1:8050.
I tried to restore the hosts file back to its default value. (It was empty after the update). It partially fixed the issue; I’ve been able to run a dash app for a few minutes until a reboot. However, the pycharm console was full of errors concerning the dash renderer module. Problem is, I can’t reproduce it. Now, when I run the app, consols shows:
Dash is running on http://127.0.0.1:8051/
- Serving Flask app ‘’ (lazy loading)
- Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead. - Debug mode: on
But the app is not available. PyCharm doesn’t even try to open the browser anymore.
I can’t display figures in my browser neither anymore (fig.show())
I’ve spent 3 hours Googling to fix this localhost issue. I can’t figure out what exactly the last update messed up with.
Did this happen to anyone else before? How to fix that?
The app, and dash, are not in cause there. It’s an issue with that dumb Windows. (Examples available in the doc doesn’t work neither)
Will update this thread if I can find a solution in the meantime.
KR
Edit: Tried this: https://www.techwalla.com/articles/how-to-install-a-localhost-server-on-windows
but it didnt change anything.
I can ping the localhost.
But the page cant be reached.