Window.open do not work with --allow-websocket-origin give 404 error

Hi
if I open a file in the static directory using localhost using
window.open
all works very fine

if I open a file in the static directory using --allow-websocket-origin <IP_SERVER> using
window.open
the bokeh server give me 404 error

example:

bokeh serve C:\Eclipse\eclipse-workspace\BiDia64 main.py --allow-websocket-origin 192.168.43.157:5006

js_code = “”"
var A= ‘{0}’;
window.open(A);
“”" .format (str(http://192.168.43.157:5006/BiDia64/static/))
openFileCustomJS.code = js_code # update js code

static is a subfolder of
C:\Eclipse\eclipse-workspace\BiDia64

Can You helo me?

Kind Regards

Mauro