I am trying out a implementation of Bokeh server along with Flask within my company’s internal Network.
I have created a basic flask web application and using autoload server to fetch graph
bokeh_script = autoload_server(None
, app_path = “/attendance”
return render_template(‘index.html’, bokeh_script = bokeh_script)
Configured flask to use my machines IP as host so that my colleagues can access the webapp, but they are not able to view the Graph rendered by Bokeh server
I wanted to grant access to the bokeh server hosted on my machine, is there any way I can allow a range of IP address? or lets say a particular network (for eg 10.10..) ?
Searched a lot and tried using --address=0.0.0.0 while starting bokeh server, but it didn’t work.
I can manually add IP’s using –allow-websocket-origin, it works but the IP’s are not static.
Is there anyway to achieve this without manually specifying the ip’s or setting up a reverse proxy as mentioned in the user guide?
Am I following the correct way to serve a bokeh application? I am currently starting bokeh with the apps I am going to display (bokeh serve app1.py app2,py)
I used this to allow multiple users have their own session so that callbacks can be handled independently. Is this the correct/best practice?
Thanks and Regards,