# Websocket problem using WGLMakie from Pluto on a remote server

**URL:** <https://discourse.julialang.org/t/websocket-problem-using-wglmakie-from-pluto-on-a-remote-server/109802>\
**Category:** Visualization\
**Tags:** pluto, wglmakie\
**Created:** [February 6, 2024, 1:36pm UTC](https://discourse.julialang.org/t/websocket-problem-using-wglmakie-from-pluto-on-a-remote-server/109802 "2024-02-06T13:36:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vvbond](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vvbond/32/10105_2.png) [@vvbond](https://discourse.julialang.org/u/vvbond)\
**Post date:** [February 6, 2024, 1:36pm UTC](https://discourse.julialang.org/t/websocket-problem-using-wglmakie-from-pluto-on-a-remote-server/109802/1 "2024-02-06T13:36:10Z")

</div>

Hi! I’m having troubles rendering WGLMakie plots in Pluto on a remote Windows server. According to the [documentation](https://docs.makie.org/stable/explanations/backends/wglmakie/#plutoijulia), the following should work:

```julia
# ╔═╡ d64ef27e-c4dc-11ee-00ed-d16bd2708611
using WGLMakie

# ╔═╡ 3e80ef35-2eec-4042-8642-e62b6987b5dd
begin
    using Bonito
    Page(listen_url="0.0.0.0", listen_port=9384)
end

# ╔═╡ 404f0720-3be1-4eb2-a477-aa2dabcee5e3
scatter(rand(100))

```

The plot gets created, but only static, not interactive.

Examining,

```julia
srv = Bonito.get_server()

```

shows at _first_: (online\_url redacted)

```julia
Server:
  isrunning: true
  listen_url: http://localhost:9384
  online_url: xx.xx.xx.xx:9384
  http routes: 0
  websocket routes: 1
    /3bb2f7ce-b957-4b12-a312-3c6315d7ee6a => WebSocketConnection

```

But after the `scatter` command, `srv` seems to loose its Websocket connection and becomes:

```julia
Server:
  isrunning: true
  listen_url: http://localhost:9384
  online_url: xx.xx.xx.xx:9384
  http routes: 0
  websocket routes: 0

```

I’d appreciate some advice on how to fix or debug the issue.  
Thanks!
