Websocket Extension not working with Lucee 7.x

Ah… ok. Thanks for this (and the fix!)

Ultimately my javascript client (from the recipe page) isn’t connecting successfully.

I’m running it via a local webpage connecting back to my remote server. My first ‘hmmm’ is to do with the port the WS stuff runs on. Is this configurable?

The recipe page says;

This extension adds a WebSocket Server to your Lucee Server that runs over TCP on port 80 for WS: and 443 for `WSS:

And indeed that page uses “ws://127.0.0.1:80/ws/test” for the websocket URL

Yet I see, variously, in the now working Lucee 7 Test

Connecting to: ws://localhost:8888/ws/TestListener

…and the screenshot for LDEV-5385 using port 9888

image