First thing you will need to determine is if your ws endpoint is valid when hit directly. If you cannot connect to it, then that is your first problem. You can open Dev Tools and use "new WebSocket("ws://Endpoint"). If it is not even getting to your ws endpoint then this is your first issue. Also, remember you have to start your nodejs server, if it is not started then your websocket server is not even running. Validate those things first. If still failing we may take it over email.