Newbie Question - Nothing being displayed

I have Bokeh installed on an on prem Ubuntu server. Im using putty to get into that server but when I run “bokeh serve --show mypyfile.py”

I should be able to use the servers IP x.xx.xxx.xx:5006\mypyfile but its not showing anything. I’ve used diff examples of py files even the simple ones on the installation guide but its still not showing.

image
Getting this in Chrome.

By default Bokeh only allows connections originating from localhost (essentially a “dev” mode). You’ll need to set --allow-websocket-origin to the host (and possibly port) of the page that will be displaying or embedding the Bokeh app. We have to be conservative with default behavior here, since websockets do otherwise offer any cross-site protections.

Relevant docs are here:

https://docs.bokeh.org/en/3.1.1/docs/user_guide/server/deploy.html#websocket-origin

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.