Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

This page can't be displayed

I have a sample dash app (first example in getting started guide) running on a Windows server. The page looks fine when visited locally via localhost:8050. However, when I visit the server from another computer (via \servername:8050), the browser shows “This page can’t be displayed” and the network diagnostics says “The remote device or resource won’t accept the connection”

Is there anything that needs to be done on the Dash server to allow external access? Or is this a limitation of free Dash license?

I know the server accepts connections because the same server runs webapps through different port numbers just fine.

Thanks.

Read https://plot.ly/dash/deployment carefully.

If you are using developing server bundled with Flask (therefore Dash), add to app.run() host=0.0.0.0 flask argument:

app.run(args, host=0.0.0.0)
1 Like