Is ws://myserver.com/path?param=1 a valid WebSocket address ?
ws://myserver.com/path?param=1
The address http://myserver.com/path?param=1 (notice it\'s now http
http://myserver.com/path?param=1
http
To use with latest ws, the connection callback now has another argument - which is req.
wss.on("connection", (ws, req) => { console.log(`Conn Url ${req.url}`); });