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

On same lan BUT can't http://host ip address:8050/?

so I have a dash site running on a machine on my lan but when I try to http://host ip address:8050/ I get

Unable to connect Firefox can’t establish a connection to the server at 192.168.1.216:8050.

the remote machine is listening on port 8050 and the site IS running.

am I missing something here?
thanks

Ok so I a posted the question on stackexchange and got an excellent answer straightaway. This worked on a SIMPLE web site ( just plotting two line charts from a list).

if __name__ == '__main__':
    app.run_server(debug=True, host="192.168.1.202", port=8050)

BUT the moment I added ANY level of complexity I cannot get it working. How am I supposed to diagnose what is going on? again web development and comms are NOT my strong suits. On the LOCAL machine I can browse to http://192.168.1.202:8050 and it’s fine, the data takes a while to load and I get a message asking me if I want to wait, I do. After that it works on the LOCAL machine ( 192.168.1.202) but If I try http://192.168.1.202:8050 on another machine ( 192.168.1.212) on the same lan it just sits there FINALLY giving me the browser message " the connection has timed out". I can ping the 202 from 212 so they see each other. How do I diagnose this please?

There is a big difference whether PCs are able to “see” each other on a network, that would be the test you do with the pinging, and if the PCs actually have access to each other.

You are hosting your page through the port 8050, so if you have not specified on your .202 that other PCs are allowed access through this port the connection should just time out (as it happens in your example).

I am also not so familiar in how to open/close ports, I have had a lot of help from far more IT experienced co-workers with this, so have a go on The Internets™ to figure out how to open port 8050 on .202.

Good luck :slightly_smiling_face:

hi there
nope that’s not it. The port IS open as it works for the simple site ( first test) BUT not for the site that is more complex. In the simple site all that happens is that a simple list is plotted onto two line graph but in the NOT WORKING example the code reads a 2gb csv into a dataframe and displays it on a grid.

So this is a timing issue I think NOT a port issue. Thanks for the reply though.