PlotlyJS fails on WSL2 - Ubuntu

Running PlotlyJS on WSL2 gives this error:

juila> plotlyjs()
julia> plot(x,y)
Error showing value of type Plots.Plot{Plots.PlotlyJSBackend}:
ERROR: IOError: connect: connection refused (ECONNREFUSED)

I’ve tried installing libnss3 and libxss1 as mentioned by @PetrKryslUCSD in
PlotlyJS: Blink connection trouble on WSL2 - General Usage - Julia Programming Language (

From the link below I installed

  • libgtk-3-0
  • libxss1
  • libgconf-2-4
  • libnss3
  • libasound2
  • libx11-xcb1