Port 8888 not working (websockets)

I think he is using :8888 because that’s the port on which his Lucee is running. Do you have Apache or NGinx running in front of Lucee? What port is your Lucee running on?

What is the exact error message you receive (check console.log). Try the following command in console with various ports:

var wsecho = new WebSocket(“ws://localhost:8080/ws/echo”);

If you get: VM524:1 WebSocket connection to ‘ws://localhost:8080/ws/echo’ failed: Error during WebSocket handshake: Unexpected response code: 404, then that means your WS didn’t register properly or your files are not in the correct location.

If you get: VM530:1 WebSocket connection to ‘ws://localhost/ws/echo’ failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED, then it’s probably the wrong port.