✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

How to make your app locally to a colleague with Dash

Is there a way to make your app locally accessible to a colleague in your team like this:

if __name__ == '__main__':

    app.run_server(debug=True, port=8080, host="0.0.0.0")

So what site do I ask them to go to see how the app looks like without sending my code or anything?

In your local network, the app should be accessible by writing your machines IP and port: like 127.0.0.1/8080 but replace 127.0.0.1 with your IP

How does someone else access it? A colleague without showing him from my pc?

By writing the address and port to his browser when the app is running at your machine :slight_smile: It should work if he is in the same LAN and you are running using “0.0.0.0” as you seem to be.

For other uses than quick demoing, you should consider deploying your app with gunicorn or equivalent, see https://dash.plotly.com/deployment. And maybe you should turn debug off while running visible to all :slight_smile:

Hi there, you can take a look at https://ngrok.com/.
It is a pretty neat tool with a generous free plan. You run it on your computer and it creates a secure tunnel to a random URL.